Commit graph

36 commits

Author SHA1 Message Date
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
Deathmax
60156af877 FindPlayer now has partial matches. 2011-06-03 19:51:43 +08:00
high
cf736cbb30 Fixed kick, SendData sets kill when sending packet 0x2. Also when a socket is killed players are resynced. 2011-06-03 02:34:25 -04:00
Maverick Motherfucker
f5a76dd154 Griefing != Cheating 2011-06-02 22:24:43 -07:00
Maverick Motherfucker
818348a445 Caching IsAdmin as to optimize load on file system 2011-06-02 21:59:33 -07:00
Maverick Motherfucker
892ef0c770 Moved the admin check for cheating into HandleCheater instead of cheat detection 2011-06-02 21:28:47 -07:00
Shank
83c5ece94c Fixed SendData to use 255 instead of 8. 2011-06-02 18:04:06 -06:00
Shank
b4e028e103 Minor changes 2011-06-02 02:54:26 -06:00
Shank
734aaa2fb8 Moved some code around
Fixed dead code
2011-06-01 00:10:25 -06:00