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
Lucas Nicodemus
ee20946cdd
REST endpoint /v2/users/activelist now null checks and works with 0 players.
...
Fixes #362
2012-02-09 21:43:35 -07:00
k0rd
b6e220e9f2
A player should be teleported to remembered position after he is finished being harassed to login.
2012-02-06 20:17:39 -05:00
Lucas Nicodemus
9df8785415
Undid change to -rest-enabled that would limit the functionality of the startup parameter.
2012-02-04 21:24:53 -07:00
Lucas Nicodemus
ccee8f3ff4
Add some debug output so people know why REST is magically enabled.
2012-02-04 21:22:55 -07:00
Lucas Nicodemus
c1f6204045
Remove duplicated -rest-enabled flags
2012-02-04 20:19:32 -07:00
Lucas Nicodemus
2d12cbe398
Added -rest-enabled and -rest-port command line parameters
2012-02-04 20:19:04 -07:00
Lucas Nicodemus
70e8bb9759
Added -rest-enabled, which will define if the REST API is enabled from command line.
2012-02-04 20:14:34 -07:00
Lucas Nicodemus
7cfc73ea4d
Added -rest-token, which will allow command line creation of a REST token.
2012-02-04 20:09:18 -07:00
k0rd
364d4cb3f6
Send player back to spawn if remembered position puts them somewhere they can't really go.
2012-02-04 18:11:17 -05:00
Zack Piispanen
46a653da99
Added config option for how often to save ssi, and applied that to the save checker.
...
Changed the OnTileEdit hook to take a player as well, so we know who is doing the edit.
Changed the output of the Debug folder to go back to bin\Debug\ since I dont work 3 directories about TShock.
2012-02-04 16:39:36 -05:00
k0rd
f3d4b0c6d1
another change to make remembered position work correctly
2012-01-31 23:00:56 -05:00
Darkvengance aka Sildaekar
fcb44cc62a
Fixed minor error in log name code
2012-01-31 05:02:45 -06:00
Darkvengance aka Sildaekar
9371c4972d
Log's name is now timestamp with yyyyMMddHHmmss.log format
2012-01-31 03:41:25 -06:00
k0rd
436cd058ec
We don't want to revert everything the player has done on the server in case of disable() for tilekill
2012-01-29 08:39:42 -05:00