Commit graph

630 commits

Author SHA1 Message Date
Zack Piispanen
a8ce4e511e Added fix to override chest stack size checks at startup. 2013-03-31 19:41:23 -04:00
Scavenger3
6315fcc533 Fix SilentKickInProgress 2012-11-30 17:12:00 +10:00
Zack Piispanen
38ae8e9ce6 Added xmas hook such that when the server checks to see if it should do xmas related things, it will check all plugins first. 2012-11-10 22:43:39 -05:00
Lucas Nicodemus
673f25f881 Added some formatting changes to log files. Fixed #458 2012-09-23 01:12:05 -06:00
Lucas Nicodemus
e00551cb6d Updated catchy version nickname 2012-09-23 00:35:31 -06:00
Zack Piispanen
88394ac561 Added back in region manager.
Added back in spawnmob commands, including the obsolete boss commands.
2012-09-15 16:20:16 -04:00
MarioE
2e2539a4d1 Rename RememberedPosManager, also remove some deprecation messages. 2012-08-20 10:53:02 -04:00
MarioE
f4dbb552da Fixed some more grammar 2012-06-04 21:22:39 -04:00
Zack Piispanen
be45fb762b Removed some deprecation messages. Added some more docs. 2012-06-01 13:08:53 -04:00
Zack Piispanen
0536fe5775 remove some more region stuff. 2012-05-31 17:47:01 -04:00
Zack Piispanen
b56a77b39d Removed the Region code. Left todo's for the places where we currently reference it though. 2012-05-30 20:12:27 -04:00
Zack Piispanen
11a85dc817 Format issues and tile place check for walls 2012-05-30 18:31:40 -04:00
Lucas Nicodemus
0bbc6ab040 Removed debug code 2012-05-30 14:08:13 -06:00
Lucas Nicodemus
77d7e506e5 Implemented the new NameCollision hook.
In other words, people that cancel connection at the password screen
that meet certain conditions will be disconnected if another attempt
happens from that same IP.
2012-05-30 13:55:56 -06:00
Deathmax
4eaf64709b Re-add ServerNickname and copies it to ServerName 2012-05-30 10:19:12 +08:00
Deathmax
55ae626131 Remove unnecessary hypen in console title 2012-05-30 10:05:39 +08:00
Lucas Nicodemus
18a1312646 A little more festive 2012-05-27 12:36:58 -06:00
Lucas Nicodemus
917c65d6b8 Added scam warning
Version ticked a little early
2012-05-27 12:31:39 -06:00
Lucas Nicodemus
a9a9ccef47 Shut up ReSharper, that isn't localizable 2012-05-27 12:06:13 -06:00
Lucas Nicodemus
5929bd73b2 Add ASCII art 2012-05-27 12:03:12 -06:00
Lucas Nicodemus
70bf515ae0 Actually use the aformentioned variable instead of ChatFormat 2012-05-27 11:36:37 -06:00
Lucas Nicodemus
6528a9e8f1 Added a config option for the formatting to use if chataboveheads is on 2012-05-27 11:03:58 -06:00
Lucas Nicodemus
8bcc24da7e Added some code to enable chat above heads 2012-05-27 10:19:52 -06:00
Deathmax
2b0549f04c Fixes fix #439
Client saves world name prior to OnJoin being called.
2012-05-27 21:01:11 +08:00
Deathmax
727bff5bd4 Fixes #439
Adds a configurable world name to be sent to clients which is saved as
the name of the server.
2012-05-27 11:46:49 +08:00
Lucas Nicodemus
d9a53cda30 REST & console window title report port correctly
Fixes #443
2012-05-26 11:59:31 -06:00
Lucas Nicodemus
8ea0b40214 Removed some old code 2012-05-26 11:52:05 -06:00
Lucas Nicodemus
d01ae01468 "{Player} has left" is now only displayed if their state is > 2
Fixes any issues pertaining to people connecting and being dead from
that point on. May lead to a fix for players already being on the server
that haven't yet accepted world data.
2012-05-26 11:35:08 -06:00
Lucas Nicodemus
9836406cfc In the mess of a method that is OnGetData, it makes no sense to logically check to see if something is both greater than 12 but not 5. 2012-05-26 11:19:36 -06:00
Lucas Nicodemus
8ecabb7f2e All TShock methods calling the obsolete ForceKick function now use the new one
Subnote: fixes an issue where players would be reported as kicked to the
ingame console.
2012-05-26 09:50:15 -06:00
Lucas Nicodemus
7103649e13 VERSION TICK: 3.9.0.0526 2012-05-25 23:59:42 -06:00
Lucas Nicodemus
55ff9cea23 Update to TerrariaAPI 1.12 2012-05-25 23:56:06 -06:00
Lucas Nicodemus
b8c2c1aded Fixed SaveSSI on kick potentially breaking
Added method to save an inventory in SSI to TSPlayer
2012-05-25 20:03:27 -06:00
Zack Piispanen
c27dfddaaa Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-04-27 00:48:53 -04:00
Zack Piispanen
653e609e25 Added config option to allow control of how statue spawn limits work. Updated binary to work with new hooks. 2012-04-27 00:48:38 -04:00
Lucas Nicodemus
8d5cdf04a8 Update copyright to reflect actual year date. 2012-04-24 12:45:46 -06:00
Zack Piispanen
bcf6636df8 Debug output ftw. 2012-04-18 00:49:05 -04:00
Zack Piispanen
c81cd39fb3 New Features For the new Release! Config options to enable the spread of creep in hardmode. This means users can disable the corruption or the hallow from spreading. This allows server owners the chance to play on hardmode without it ruining their worlds. This does require the new TerrariaServer but the only change is the addition of a hook, which I believe does not require the increment of an API version attribute. 2012-04-18 00:46:30 -04:00
Zack Piispanen
a91949a60a Rest api now has a permission, Permissions.restapi. However, the string attached to the permission is "api" for backwards compatability. We should give server owners and plugin devs a notice and change it to "restapi" in a few days/weeks. 2012-04-15 15:51:33 -04:00
Zack Piispanen
7c7a9a90ee Whitelist kick message. 2012-04-15 14:59:10 -04:00
Lucas Nicodemus
53cda6036d Version tick: 3.8.x.x
Changed the improper shutdown message to be a little more informative.
2012-03-04 19:03:12 -07:00
stevenh
99384180c8 Added -logformat <datetime-format> & -logclear <bool> command line options to fix #420 2012-02-28 00:16:48 +00:00
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
stevenh
098363a9cc Fixed internal object and DB inconsitencies for modified default groups
Fixed console errors for failed parent dependencies of default groups that already exist caused by fb11729547 consistency fixes

Made GroupManager.groups readonly to discourage overwriting it. Could still do with better encapsulation to prevent consistency problems if modified externally.

Added UpdateGroup method to GroupManager

Refactored Group handling of permissions and chatcolor to prevent inconsistent data
Notably:-
* AddPermission now does the right thing when passed the string "!permission"
* Converted ChatColor from method to getter / setter

Added RemovePermission to Group

Refactored GroupManager Permissions handling to ensure consistent data between DB and internal objects

Removed redundent AddGroup method in preference to a default value on the main method

Correct some tabs vs spaces

Added ParentName helper to Group

Fixed inverted parameters to error "Invalid parent {0} for group {1}"
2012-02-16 11:23:39 +00:00
stevenh
2f3bfca082 Fixed how ban logic works so it matches the description of the variables EnableBanOnUsernames & EnableIPBans
Now it doesn't prevent bans being created or found but it only actions kicks on join based on the relavent config options.

Changed /unban <player> to only work on names and /unbanip <ip> to only work on ip's to avoid user confusion

Changed error message returned when no bans are found when actioning /unban <player> & /unbanip <ip> to be more appropriate

Fixed formatting of -maxplayers / -players block
2012-02-16 11:08:53 +00:00
Lucas Nicodemus
2c8c5dc7b9 Update TShockAPI/TShock.cs 2012-02-15 16:06:39 -07:00
stevenh
ce5c659e89 Moved RestApi initialisation to main Initialise method so its available early. This helps tools detect a server during its timeconsuming startup. Additional threading may be required to ensure timely responses during high load periods 2012-02-13 22:23:01 +00:00
k0rd
3641c3ca87 Consider command line parameters when /reload command is issued 2012-02-12 23:56:49 -05:00
k0rd
d478810336 -maxplayers or -players cl argument should override config
additions to /removespecial
2012-02-12 15:27:23 -05:00