Commit graph

17 commits

Author SHA1 Message Date
stevenh
41dbd31aac Converted all files to LF line endings 2012-02-21 15:56:34 +00:00
stevenh
d34199b17d Refactored server stop and world save operations fixing race conditions so as to ensure operations always happen in a predicable order. This fixes output not appearing in the console / log for example. This adds TShock.Utils.StopServer method used by IGA, rcon and the RestAPI.
Fixed console title set not working

Optimised command line parsing

Made Utils a singleton to enforce the fact that only one copy should ever exist

Added name to /v2/user/read output as users can be found by id
2012-02-20 22:31:16 +00:00
Lucas Nicodemus
bf9d0137f1 Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
Lucas Nicodemus
c6abbfe4d2 ReSharper code reformat to match naming conventions and stuff 2011-12-30 14:38:04 -07:00
Zidonuke
e0fac202af Stop using backup manager for database saves. 2011-12-27 14:17:14 -05:00
Justin
f9b1af1b19 fixed null pointer exceptions during save and initializing regions 2011-12-26 12:53:16 -07:00
Zidonuke
8cf298ad85 Save player data on backups
Server Side Inventory security improvements, blocking trashcan and "banks" items
CovertCorruption is now more thorough.
PvP Modes, normal, always, disabled now configurable
Initial group prefix/suffix implementation
Range checks reworked, Killing ice blocks now ignored for ice rod.
Adding a NPC name to item banlist will block it from spawning
Added configs to disable snowballs and clown bombs from npcs.
2011-12-22 17:32:51 -05:00
Lucas Nicodemus
8514140ca7 As per High's complaining, holocaust against the Tools class (now Utils)
Plugin developers: You really need to change to reference this.
2011-12-01 23:24:02 -07:00
Lucas Nicodemus
37146adb4c Resharper code cleanup, including:
- Optimized using statements
 - Removal of redundant code
2011-07-26 23:37:06 -06:00
Twitchy
9cefc69075 Merge branch 'sql' of github.com:TShock/TShock into general-devel-sql (test) 2011-07-12 15:49:24 +12:00
Twitchy
1d5ac77255 Made console change text color depending on messages 2011-07-08 23:38:02 +12:00
Deathmax
718764e533 More race conditions. 2011-07-04 17:32:49 +08:00
Twitchy
a10a0ce6ee Makes server save in background, stops server lag on save
Keeping lag broadcast just in case
2011-07-03 18:27:57 +12:00
Deathmax
e4ee06f659 Broadcast on saveWorld.
(Latest API required)
2011-07-03 10:51:49 +08:00
Twitchy
80ca8509a3 Adds some broadcasting on map saves 2011-06-29 19:06:20 +12:00
high
c5705eeabd info not error 2011-06-21 20:36:56 -04:00
high
c901e8482d Backups added
Pvp throttle added
2011-06-17 21:12:37 -04:00