Commit graph

298 commits

Author SHA1 Message Date
high
17cd6652d7 Renamed settings to start with a Capital letter
Removed config read on post init. Already read in SetupConfig which is called in Init
Added option to disable auto saving
2011-06-25 00:44:07 -04:00
high
fb0252ac7c Removed broken senddata hook. 2011-06-24 13:34:21 -04:00
Twitchy
3644719c1c Fixes the no teleporting glitch. uses a IsTP command to send either cfg.spawnTile, or Main.spawntile 2011-06-25 05:16:46 +12:00
Deathmax
840c91d341 Merge remote-tracking branch 'origin/master'
Conflicts:
	TShockAPI/Commands.cs
2011-06-24 22:45:34 +08:00
Deathmax
a0c71e7b30 /setspawn spawn shouldn't save into world file unless using /savespawn 2011-06-24 22:43:17 +08:00
Twitchy
efc36825a3 Fixed remember positions to teleport you to the correct position and not create duplicates of players 2011-06-25 02:36:02 +12:00
Deathmax
1e66e1a256 Ban/kick on death if HardcoreOnly == true 2011-06-24 20:03:19 +08:00
Deathmax
f839308883 Fixed /setspawn 2011-06-24 18:03:25 +08:00
Deathmax
96988fc7c9 /setspawn settings no longer carry over to other worlds. 2011-06-24 14:50:18 +08:00
Lucas Nicodemus
9636ebf0e5 Players can join on 1.0.5, and apparently some features work. 2011-06-23 16:50:29 -06:00
Lucas Nicodemus
8695683a62 Version tick 2011-06-23 16:41:36 -06:00
Deathmax
8037fd67db Tile threshold can now be set in config. 2011-06-23 17:36:19 +08:00
Twitchy
df1cbab1f5 Adds option to remember leave positions. Change to true in config.json 2011-06-23 20:43:57 +12:00
Twitchy
74371539c0 Changed kick message for banned item 2011-06-23 19:32:31 +12:00
Twitchy
d2c1082c59 Adds banned items. Delete groups.txt and run server once. 2011-06-22 19:51:10 +12:00
Twitchy
85a27f421a Addded writing warps, changed some region commands, /region help displays correct information 2011-06-22 08:05:45 +12:00
Twitchy
ad352492a9 Adds protected regions. Use /region help ingame for extra help 2011-06-21 17:47:36 +12:00
ricky
aa9d627f69 Moved Teleport to TSPlayer and added Spawn
Warn player teleport is not possible if custom spawn point is set.
/home now take you to spawnpoint (custom if set else main spawn point)
2011-06-21 13:47:31 +10:00
ricky
2d9ccb3738 Not processing events if they have been handled by plugin up the chain 2011-06-21 13:10:42 +10:00
high
a8dc1501b8 forgot api version 2011-06-20 17:11:26 -04:00
high
df7b0e8f57 Merge branch 'master' of github.com:TShock/TShock 2011-06-20 17:07:42 -04:00
high
e6992bc05f Updated api to v1.5 2011-06-20 17:07:18 -04:00
Deathmax
fb86c4636c Fixed Teleport, needs a nice / 16 2011-06-20 21:21:55 +08:00
Lucas Nicodemus
dc27c5a236 Legacy teleport updated 2011-06-20 00:17:08 -06:00
Lucas Nicodemus
b8c3b85cd9 Teleportation fix thanks to Twitchy
Closes #94
2011-06-20 00:15:47 -06:00
ricky
616d0f60d7 Fridge, only stop accepting messages from player that is acutally going to be kicked/banned. 2011-06-20 11:18:45 +10:00
high
05e956a30a Was only logging .Info() calls. Also with the current state of the code we want debug logs too. 2011-06-18 00:25:18 -04:00
high
c901e8482d Backups added
Pvp throttle added
2011-06-17 21:12:37 -04:00
high
4339650439 Version is now the assembly version. I recommend downloading Build Version Increment. 2011-06-17 16:34:25 -04:00
high
e47481210e updated to api v1.4 2011-06-17 15:32:54 -04:00
ricky
ea0c091355 Added RevertKillTile to TSServerPlayer 2011-06-18 02:11:02 +10:00
ricky
90474920cd Fuck maybe I should not try to make multiple changes at the same time 2011-06-17 22:30:46 +10:00
ricky
e962a33159 All level logging for debug dll only and info level for release dll. 2011-06-17 21:00:30 +10:00
ricky
99cafd359e Removed unused GetItemID from TShock.cs (Use GetItemByID, GetItemByName or GetItemByIdOrName in Tools.cs) 2011-06-17 16:20:34 +10:00
ricky
51aa337839 Added support to spawn all types of slimes (have to use the full exact name)
Added SpawnNPC in TSServerPlayer
Warn user if multiple mob with name are found
2011-06-17 11:21:37 +10:00
ricky
7bccfbe441 Added Disconnect, SendTileSquare, SetPvP to TSPlayer
Added SetBloodMoon, SetTime, StrikeNPC to TSServerPlayer
2011-06-17 02:09:30 +10:00
ricky
5a0b00b398 HackedHealth method now takes in TSPlayer instead of int 2011-06-17 02:09:28 +10:00
ricky
c2d8461fb8 Removed unused UpdateInventories and UpdatePlayers methods from TShock.cs 2011-06-17 02:09:25 +10:00
ricky
f3be17a911 Moved all GetData checks to GetDataHandlers
Fixed GetBanByName not working
2011-06-16 21:00:54 +10:00
ricky
6ed2b5044d Pulled the duplicated code for handling commands into helper method 2011-06-16 14:03:06 +10:00
ricky
f84949affa All commands now working from console (some print message that they can't be performed from console)
PlayerDamage accept TSPlayer
Added property to check if TSPlayer is real and if connection for that player is alive
2011-06-16 13:18:48 +10:00
ricky
9ed47768ad Grrrr another ThreadStatic 2011-06-16 12:14:34 +10:00
ricky
15924c543e Notify user if command failed
Fixed /heal not working from server console (cant heal self from console now)
/playing from console now outputs the same as the overridden playing
Using args.Player or args.TPlayer in commands instead of Index
2011-06-16 12:09:50 +10:00
ricky
efc5ed5fcf Dunno why VS makes that change 2011-06-16 10:33:50 +10:00
ricky
07d607a9b6 Fixed json config file changes made while server is running lost if reload is not performed before restart
Fixed unban not saving to file until server shutdown
2011-06-16 10:18:22 +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
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