Commit graph

377 commits

Author SHA1 Message Date
high
d2a17a8805 added bins 2011-06-16 10:46:00 -04:00
high
780cb36f30 Added exception handler to loading config. 2011-06-15 19:00:34 -04:00
ricky
9c5bb75ac8 Don't need the testing releated log statement anymore 2011-06-16 01:06:19 +10:00
ricky
a976c51101 ForceKick now takes in TSPlayer instead of int
Removed Tools.GetPlayerIP, use TSPlayer.IP instead
2011-06-16 01:04:28 +10:00
ricky
921f8ad4ee Missed converting some for loops into foreach 2011-06-15 21:02:20 +10:00
ricky
91a0b82d3b Dumbass 2011-06-15 20:56:01 +10:00
ricky
1ea6d2e955 Fixed exception in commands crashing the server
Removed Tools.WriteError using Log.Error instead.
2011-06-15 20:54:32 +10:00
ricky
8d13023dac Grrr paramater assigment, why dont you have final for paramater C#. 2011-06-15 20:25:14 +10:00
ricky
8f1c1ede28 Only log player leaving if they successfully joined 2011-06-15 19:53:22 +10:00
ricky
36b33891c9 Using TShock.Players instead of Terraria.Main.Players 2011-06-15 18:58:37 +10:00
ricky
a8df558fe2 Added IP to TSPlayer 2011-06-15 16:10:27 +10:00
ricky
42905f2317 Broadcast and SendLog to server console as well
Removed writing of log message to console
2011-06-15 15:49:50 +10:00
ricky
43ecc064bd Added Team to TSPlayer
Updated Tools.NewNPC to take in NPCList and TSPlayer
Broadcasting when anti-build or spawn protection is toggled
2011-06-15 15:00:33 +10:00
ricky
f42a23e4c1 Fixed of-nosave not kicking all players 2011-06-15 14:03:32 +10:00
ricky
3ced4fc089 Added ForceKillAll to kick all players. 2011-06-15 13:49:42 +10:00
ricky
3af6e990dc Kick/Ban now take TSPlayer instead of player index 2011-06-15 13:41:49 +10:00
high
fc2d04ad9f Merge branch 'master' of github.com:TShock/TShock 2011-06-14 22:52:37 -04:00
high
ce38ac1895 Fixed kill tile crash when switching to vector2 2011-06-14 22:52:21 -04:00
ricky
b1bde376e5 Fixed /rules on console crashing the server 2011-06-15 12:38:08 +10:00
ricky
3f8b78d3b7 Overridden console playing to print tshock player group
Kick player before shuting down from console
2011-06-15 12:02:21 +10:00
high
e9dd445055 Console can now use ingame commands. Although they are the chat commands so right now some wont work like the ones that spawn bosses at you, etc. 2011-06-14 21:44:32 -04:00
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
760a81f74e replaced tshock.position with vector2 2011-06-14 19:51:54 -04:00
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
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
high
3b250f4353 Merge branch 'master' of github.com:TShock/TShock
Conflicts:
	TShockAPI/TShock.cs
2011-06-14 13:28:48 -04:00
high
c0a9adb175 Updated to API 1.3 2011-06-14 13:25:17 -04:00
high
f3fd5bc5bf update api to v1.3 2011-06-14 13:16:12 -04:00
ricky
ea80dd48c3 Using Tile Send Square message instead of multiple Tile Send Section message to revert player changes. 2011-06-15 00:39:39 +10:00
ricky
f810f5f979 Players now in sync with server when protect spawn or anti build it on. 2011-06-14 23:27:47 +10: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
Shank
b8b4b6c8e8 Added /rules, reads from ./tshock/rules.txt 2011-06-14 02:06:04 -06:00
Shank
7e8e8fb986 Version Tick: 2.1.0.3
(Fuck it, no hostname resolution if nobody bothers to test)
2011-06-14 01:38:22 -06:00
ricky
1ce4e75eff Notify user that world is protected from changed when anti build is on. 2011-06-14 14:40:58 +10: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
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
6d65fda5b7 Merge branch 'master' of github.com:TShock/TShock 2011-06-13 15:20:43 -06:00
Shank
b32e11a49f Added DNS resolution for hostnames (no-ip and the like). 2011-06-13 15:20:17 -06:00
high
e802ce4c2f Fixed hair exploit 2011-06-13 11:28:50 -04:00
high
dbc0ae7aac increased version tick
moved commandline handling
2011-06-13 09:35:19 -04:00
high
9121ce729a Added -ip commandline
Updated binary
2011-06-13 09:32:12 -04:00
high
9ffd37de25 Updated Binary 2011-06-13 09:01:49 -04:00