high
f31bae459e
Fixed GetData now logs exceptions as Terraria will swallow the exception.
...
Removed FindPlayer(int)
Removed Tools.SendMessage
Added TSPlayer.SendMessage to replace it
Changed FindPlayer(string) now returns List<TSPlayer>
2011-06-14 21:08:13 -04:00
high
f233ef82e5
Sub classes are ugly as hell.
2011-06-14 19:28:20 -04:00
high
a6f168115a
That FindPlayer function returning -1 or -2 was bothering me so I did a temp fix.
2011-06-14 18:57:08 -04:00
high
7c56524a0d
typo
2011-06-14 18:23:54 -04:00
high
43beb99cb7
This is C#, not javascript!
2011-06-14 18:21:14 -04:00
high
966735ec2e
More code tidying.
2011-06-14 18:13:46 -04:00
high
fff6e1bcbc
Changed Group. This isn't java. Don't use accessor/mutator methods. Use properties.
2011-06-14 17:06:17 -04:00
high
c3bf304c0c
Changed the TSPlayer class.
2011-06-14 16:54:30 -04:00
high
17b2ed7eea
Change Broadcast and SendMessage to use Byte instead of Float
2011-06-14 16:23:33 -04:00
Shank
6411e71cee
Added AdminChatPrefix configuration option.
...
Added AdminChatRGB configuration option.
Tweaked how broadcast works, now clamps RGB values to prevent overflows.
Added a new permission, "adminchat," that defines who is affected by the AdminChatPrefix and the new AdminChatRGB (which is a rgb color spectrum for the chat color of admin's text).
Closes #72
2011-06-14 02:56:04 -06:00
Shank
37d40374be
/rules now follows MOTD formatting rules.
...
Tools.ShowMOTD is deprecated, use Tools.ShowFileToUser instead.
2011-06-14 02:15:18 -06:00
high
c268118c9c
Revert "Added DNS resolution for hostnames (no-ip and the like)."
...
This reverts commit b32e11a49f .
2011-06-13 21:55:36 -04:00
Shank
b32e11a49f
Added DNS resolution for hostnames (no-ip and the like).
2011-06-13 15:20:17 -06:00
Shank
169950d1fd
Added year and author name to GPL ness.
2011-06-12 01:20:20 -06:00
Maverick Motherfucker
3a2c6bb314
gpl up in dis bitch
2011-06-11 21:35:29 -07:00
ricky
3c0cb13222
TShock the string.Format edition specially for high6.
2011-06-11 00:44:11 +10:00
ricky
eb8d1e180f
Killed the Obsolete SendMessage method
2011-06-09 11:52:14 +10:00
high
0dc39e15f5
Fixed false bans when picking up liquid.
...
Added 3 permissions (canlava, canwater, logs)
'canlava' and 'canwater' are in the default group. Without them you cannot manipulate water/lava.
Users with the 'logs' permission get sent information. For example when someone uses a command they don't have access to.
2011-06-08 10:36:56 -04:00
ricky
f600e9f0f4
#41 Full name match now takes precedence over partial matches
2011-06-08 21:18:52 +10:00
high
e66c57450a
Fixed Ban not checking socket status correctly.
...
Fixed unban/unbanip for real this time
2011-06-08 06:44:53 -04:00
ricky
51b4b29728
Doh! Fixed ban not kicking players.
2011-06-08 19:09:27 +10:00
ricky
0a3120b8c6
Copy paste fail
2011-06-07 23:09:37 +10:00
ricky
edffd29a69
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
TShockAPI/TShock.cs
TShockAPI/Tools.cs
2011-06-07 23:07:14 +10:00
high
d7987ac633
Fixeds kick not working
2011-06-07 08:46:33 -04:00
ricky
a87eeaffeb
Fixed ban to not kick inactive players as well.
2011-06-07 20:45:09 +10:00
ricky
cfd4de2f32
Fixed errors from failed merge
2011-06-07 20:34:15 +10:00
ricky
c368518caa
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
TShockAPI/Commands.cs
TShockAPI/TShock.cs
TShockAPI/Tools.cs
2011-06-07 20:28:11 +10:00
high
fe04331200
Fixed Kick kicking inactive players.
2011-06-07 05:18:28 -04:00
ricky
78d0480512
Fixed ban not working with quotes around player name. Kick now also supports reason
2011-06-07 18:33:54 +10:00
ricky
1ad261a562
All greif related checks now respect ignoregreifdetection and ban/kick greif flags.
...
Refactored common ban/kick logic into helper method in tools.
Added ForceKick for when wanting to disallow players to join when sever is full or name is too long or not on whitelist etc.
Updated OnJoin to set e.Handled when players are force kicked during join.
Logging all players that successfully join the server.
2011-06-07 15:09:18 +10:00
Maverick Motherfucker
df9e2bb423
fixed kicking and banning, and removed a unused variable
2011-06-06 17:11:49 -07:00
ricky
196edcc3bf
Logging ip address if player name not available on kick.
2011-06-07 01:03:16 +10:00
ricky
4ac5b8c7e9
Fixed kicked player name not printed to logs
2011-06-06 22:53:13 +10:00
Shank
dfc4325e59
ReSharper Code optimization
2011-06-05 23:36:41 -06:00
Shank
d9df2bf962
Added /me
...
Turned back on logger
Stopped logging send message events(spam!)
Closes #28
2011-06-05 22:37:56 -06:00
high
1caf69998d
Replaced the 3 ban files with a simple ban manager which stores ip, name and reason.
2011-06-05 19:05:38 -04:00
Maverick Motherfucker
362b2b776e
Removed all referneces to admin and replaced with group permissions
2011-06-04 13:35:52 -07:00
Maverick Motherfucker
dbdbc9e41e
implemented ignorecheatdetection
2011-06-04 11:42:56 -07:00
Maverick Motherfucker
61b9b8779e
Made groups.txt and users.txt auto appear in save folder
2011-06-04 11:14:39 -07:00
Maverick Motherfucker
24f7756370
did a debug session, fixed bugs
2011-06-04 10:35:20 -07:00
Maverick Motherfucker
cfd3cbf5a3
made it so newlines arn't parsed and added avaliable permissions to groups.txt
2011-06-04 09:45:23 -07:00
Maverick Motherfucker
8344801128
Started work on revamping command system for permissions, but I'm out for the night, cya tomorrow
2011-06-03 22:28:05 -07:00
Maverick Motherfucker
3774c30f7d
Removed useless permissions class and finished loading groups
2011-06-03 22:06:18 -07:00
Maverick Motherfucker
f5723ee834
did a debug session and fixed some errors
2011-06-03 22:00:46 -07:00
Maverick Motherfucker
273615f738
Loading groups adds the groups, doesn't add permissions yet
2011-06-03 21:51:35 -07:00
Maverick Motherfucker
517b40eec6
oops, forgot to do this
2011-06-03 21:41:17 -07:00
Maverick Motherfucker
6f3f53f0dc
Added hardcoded superadmin group
2011-06-03 21:39:18 -07:00
Maverick Motherfucker
bb2e9559f0
Added code to convey idea before I write all of it out, also added default config files, everything is subject to change
2011-06-03 21:27:56 -07:00
Deathmax
35b584ab94
Added some basic logging.
2011-06-04 11:27:35 +08:00
Deathmax
f1d821a554
Added Dynamite/Bomb projectile checks.
...
Fixed issue where Kill Tile Abuse doesn't check for config values.
2011-06-03 21:43:05 +08:00