stevenh
c7a9ee32cd
Added ChatColor helper to Group useful for output methods
2012-02-13 22:23:01 +00:00
stevenh
c5497acae7
Check for null in FindPlayer to avoid errors on null object
2012-02-13 22:23:01 +00:00
stevenh
fb11729547
Added IEnumerable support to GroupManager to facilitate RestAPI listing groups
...
Added optional exceptions parameter to AddGroup and DeleteGroup to faciliate RestAPI group manipulation. This changes the behaviour of these methods to throw an exception on error instead of returning an error string.
Corrected internal lists from being updated in failed DB updates in DeleteGroup and AddGroup
Added doc for chatcolor on AddGroup
2012-02-13 22:23:01 +00:00
stevenh
4daa9add13
Added GetUsers method mirroring GetBans to enable RestAPI to provide a full users list as well as an active one
2012-02-13 22:23:01 +00:00
stevenh
46f5f872ae
Moved local exceptions outside of try block in AddUser so the calling code gets the original exception and not a generic one
...
Also added details of the SQL exception message into the message of the UserManagerException so its easier to determine the actual error when the exception message is returned / printed out
2012-02-13 22:23:01 +00:00
stevenh
0c13716b84
Removed TShock.Config.EnableBanOnUsernames check from GetBanByName so that it can be used internally for queries
2012-02-13 22:20:44 +00:00
Will
862a06e820
Merge pull request #376 from k0rd/bugfix-devel
...
-maxplayers and -players override ; added hallowed vines and plants to /removespecial
2012-02-13 10:44:10 -08: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
3bbfa1b434
Merge pull request #366 from k0rd/general-devel
...
replace pearlsand/ebonsand with sand, not a tile type that doesn't exist
2012-02-09 22:33:33 -08:00
k0rd
b84e27436c
fixes crash on saving world with /removespecial
2012-02-10 01:40:05 -05:00
Lucas Nicodemus
6cb6e19f23
REST endpoint /lists/bans is now /v2/lists/bans
...
Added REST endpoint /v2/lists/players - JSON list of players
Deprecated REST endpoint /lists/players
2012-02-09 22:43:54 -07:00
Lucas Nicodemus
454403d495
Added /lists/bans REST endpoint - Returns a JSON list of bans
2012-02-09 22:20:36 -07:00
Lucas Nicodemus
5cdd537ebd
/v2/players/kick no longer 500s if a player name isn't specified.
...
Fixes #361
2012-02-09 21:48:37 -07: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
Lucas Nicodemus
d72dc36580
Merge pull request #360 from k0rd/general-devel
...
(REST) add max slots to /status
2012-02-07 21:51:52 -08:00
k0rd
16b3e51b4b
(REST) add max slots to /status
2012-02-08 00:56:45 -05:00
Lucas Nicodemus
db3b928373
Merge pull request #357 from k0rd/teleport-devel
...
Remember Position System: Teleport player to remembered position after successfully logging in (when forced to)
2012-02-06 22:41:55 -08: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
63b1a6e3c6
Update README
2012-02-04 22:05:09 -07:00
Lucas Nicodemus
04f16b9ea0
Update README
2012-02-04 22:04:02 -07:00
Lucas Nicodemus
aa3bb8972d
Update README
2012-02-04 22:01:43 -07:00
Lucas Nicodemus
a236f8dfc5
VERSION TICK: 3.7.0.204
2012-02-04 21:40:38 -07:00
Lucas Nicodemus
48c5bc147a
Merge pull request #353 from TShock/multiplay
...
Add requested stuff for Multiplay
2012-02-04 20:28:03 -08: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
Lucas Nicodemus
fcf573e982
Merge pull request #352 from k0rd/general-devel
...
Fixing cutting off regions and odd remembered position behavior sending players to an unteleportable place
2012-02-04 15:17:54 -08: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
k0rd
e7889a7951
Merge remote branch 'upstream/general-devel' into general-devel
2012-02-04 18:02:03 -05:00
k0rd
217d001baf
option to overload Region.InArea() with x,y for more accurate Region detection.
2012-02-04 18:00:33 -05:00
k0rd
bd878ee63c
Don't use remembered pos if we are on a different WorldID
2012-02-04 17:01:27 -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
Deathmax
54e822fb34
Merge pull request #350 from erikive/patch-1
...
Grammar fix.
2012-02-03 17:52:51 -08:00
Deathmax
1c8442f72b
Warn instead of error.
2012-02-04 09:52:33 +08:00
Erik
e3c09f28d5
Derp
2012-02-03 19:49:24 -06:00
k0rd
9a463d36e6
Merge pull request #348 from k0rd/general-devel
...
added non-hardmode ores to /genore command
2012-02-03 17:13:21 -08:00
k0rd
521fe6c015
added non-hardmode ores to /genore command.
2012-02-03 19:51:05 -05:00
Lucas Nicodemus
cf88214be4
Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
2012-02-02 21:41:35 -07:00
Lucas Nicodemus
332bfe99f4
Removed try cache on config file, will now fail startup. Fixes #334
2012-02-02 21:41:14 -07:00
k0rd
5ece3bc7c3
Merge pull request #343 from darkvengance/master
2012-02-01 19:44:29 -08:00
Darkvengance aka Sildaekar
9d18ab3ce0
pearlstone brick now changed to grey brick
2012-02-01 15:14:04 -06:00
Darkvengance aka Sildaekar
043861edaa
pearlstone brick now changed to grey brick
2012-02-01 15:09:22 -06:00
Darkvengance aka Sildaekar
da87682719
removespecial now removes pearlstone bricks
2012-02-01 14:59:25 -06:00
Darkvengance aka Sildaekar
99fb24c82a
removespecial now removes pearlstone bricks
2012-02-01 14:55:41 -06:00
Darkvengance aka Sildaekar
accdb03d19
Removed demonite ore from the "removespecial" and "convertcorruption" commands.
2012-02-01 13:48:56 -06:00
Darkvengance aka Sildaekar
5a6b59cbad
Added removespecial command
2012-02-01 13:44:05 -06:00