Commit graph

109 commits

Author SHA1 Message Date
high
12946c8a63 Removed pointless unbanip permission.
TSPlayer improved.
2011-06-14 19:49:45 -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
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
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
37d40374be /rules now follows MOTD formatting rules.
Tools.ShowMOTD is deprecated, use Tools.ShowFileToUser instead.
2011-06-14 02:15:18 -06:00
Shank
b8b4b6c8e8 Added /rules, reads from ./tshock/rules.txt 2011-06-14 02:06:04 -06:00
ricky
a1a82745d0 Using Player Damage instead of Kill Me message for /kill
Added current value of DisableBuild to the debug-condig output
2011-06-14 12:16:12 +10:00
Shank
feea5700ac Added command to toggle anti-build. 2011-06-12 02:49:37 -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
82470d1cf1 Added message when trying to kill self (1.0.4 doesnt let you kill self using kill me packet)
Enable all the cheat comands only if distributationAgent != "terraria-online"
Added spamChecks to output of debug-config
2011-06-11 20:37:29 +10:00
Shank
c690a2d2fc Added command aliases:
- /i
- /who, /online
Closes #63
Closes #62

Kill isn't possible.
Closes #66
2011-06-11 00:43:14 -06:00
ricky
e663698497 Using the maxNPCTypes and maxItemTypes constants from Terraria.Main so we don't have to update everytime new things are added 2011-06-11 09:43:23 +10:00
ricky
3c0cb13222 TShock the string.Format edition specially for high6. 2011-06-11 00:44:11 +10:00
ricky
c964b3b2eb Fixed the heal command always self healing 2011-06-10 20:48:20 +10:00
ricky
01f9f2579d Fixed /p stripping first character of the message. 2011-06-10 20:12:40 +10:00
ricky
d4cf37fffe Updated playing to be exactly like Terraria playing so that Gmod theater ping is happy. 2011-06-10 11:19:25 +10:00
ricky
5a99aa2a5f Most of the commands now use the parsed parameters instead of raw text
Fixed slap throwing player across the map (even though it is hilarious)
2011-06-09 21:31:44 +10:00
ricky
eb8d1e180f Killed the Obsolete SendMessage method 2011-06-09 11:52:14 +10:00
ricky
e392e69a96 Kick/Ban/BanIP now uses the complete entered reason not just the first word if reason not in quotes.
Added RangeCheck to the debug-config output
2011-06-09 11:21:59 +10:00
high
11f5d9a116 Added parameter parser so that each command does not have to parse the text.
Dead players are kicked if they try to place a block or liquid.
2011-06-08 13:33:01 -04: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
high
55000158ee Fixed the update check spamming.
Moved the update check out of the main thread to prevent locking up the server.
2011-06-08 09:40:09 -04:00
high
8435a56d51 Merge branch 'master' of github.com:TShock/TShock 2011-06-08 06:45:09 -04: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
Shank
2910a4beff Added force check update command
Closes #54
2011-06-08 04:37:11 -06:00
ricky
c71ee6a985 Group commands by permissions 2011-06-08 13:19:40 +10:00
Maverick Motherfucker
61624249a2 Got TShock's part of updating done, waiting from ftp access from shank to test 2011-06-07 19:04:35 -07:00
ricky
88477eaccf Kill checks if player is found before killing. 2011-06-08 08:11:26 +10:00
ricky
4874a2bdd4 Merge remote-tracking branch 'upstream/master'
Conflicts:
	TShockAPI/TShock.cs
2011-06-08 06:53:54 +10:00
Shank
d5072af087 Merge branch 'master' of github.com:TShock/TShock
Conflicts:
	TShockAPI/Commands.cs
2011-06-07 11:13:47 -06:00
Shank
f1c8be3e60 Added /banip 2011-06-07 11:13:04 -06:00
high
5902aa7146 fixed /unban and /unbanip 2011-06-07 10:22:20 -04: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
6371a301da Added unban/unbanip
Fixed banning when a player picks up lava/water
Fixed name check for real this time.
Fixed banning multiple times.
2011-06-07 04:56:01 -04:00
ricky
0a49458302 Removed debug logs used for testing kick/ban commands 2011-06-07 18:51:42 +10:00
ricky
070f5a7801 Merge remote-tracking branch 'upstream/master'
Conflicts:
	TShockAPI/Commands.cs
	TShockAPI/TShock.cs
2011-06-07 18:45:09 +10: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
Shank
3589886eab Added /home
Closes #26
2011-06-07 00:03:01 -06:00
Shank
dafd739f88 Time now takes noon/dawn/dusk/midnight
Closes #33
2011-06-06 23:59:08 -06:00
Shank
866f63ea59 /ban now accepts a reason
/ban announces said reason
2011-06-06 23:51:51 -06:00
Shank
ab03cf174d Fixed /dropmeteor
Closes #40
2011-06-06 23:48:30 -06: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
Shank
e375703e96 Brackets 2011-06-06 19:01:08 -06:00
Shank
43b968e37f Added ban for placing impossible to place tiles and liquids.
Added ban for attempting to place non-existent liquids.
2011-06-06 16:38:41 -06:00
ricky
e30ddc0079 Added the final missing terraria command.
Removed Terraria commands from the output of help.
2011-06-06 20:43:59 +10:00