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
9e1d707c06
Implemented kicking by player index.
...
/who now displays player index as (IX: ) if you have the correct permission.
FindPlayer now finds by ID & name
2012-04-24 13:35:30 -06:00
Lucas Nicodemus
d59cda0ce3
Refactor Playing method -> ListConnectedPlayers per convention
2012-04-24 12:48:32 -06: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
88f1ebf15e
Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
2012-04-16 12:32:39 -04:00
Zack Piispanen
f48056357b
Make sure the user is logged in when we save inventory on kick.
2012-04-16 12:32:23 -04:00
Lucas Nicodemus
550a43f1e4
Merge pull request #442 from erikive/general-devel
...
Added separate permission for userinfo and reason for shutting down
2012-04-15 19:31:10 -07: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
f672f50783
Forcekick now saves the users inventory.
2012-04-15 15:46:07 -04:00
Zack Piispanen
b5504d2319
Z index based regions
2012-04-15 15:39:09 -04:00
Zack Piispanen
7c7a9a90ee
Whitelist kick message.
2012-04-15 14:59:10 -04:00
Eriki Iverson
1ba63130a3
Added reason for shutting down
2012-04-15 12:31:55 -05:00
Eriki Iverson
a721572d0a
Added separate permission for /userinfo
2012-04-15 11:02:57 -05:00
Zack Piispanen
7bfd9d244e
Added /modgroup add * [permissions] and /modgroup del * [permissions] to allow permissions to be applied to all groups.
2012-04-09 12:29:50 -04:00
Zack Piispanen
7a42c56f30
Added savessi and overridessi to the commandlist. This allows users to save everyones ssi or in the event someone is banned from doing anything once logging in, they can have their account overriden. I haven't tested any of this, as I will be away from this computer, but plan on testing tomorrow.
2012-04-06 16:23:01 -04:00
k0rd
d9b0d656a5
cleanup
2012-03-13 12:58:31 -04:00
k0rd
83fae7e4f3
workaround for buggy noclip detection when player is wet
2012-03-12 19:46:36 -04:00
k0rd
4bfdcb7dab
Add checks for invalid positions when the server does not report the correct player position values to the RememberPosManager system.
2012-03-12 13:58:51 -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
Deathmax
a3158d6311
Don't send another massive tile update after the first one after a teleport.
2012-03-04 21:23:15 +08:00
Zack Piispanen
58359edd12
More typos....
2012-03-04 00:09:23 -05:00
Zack Piispanen
9da1701354
Fixed typo in GenericSQLQuery.
2012-03-03 23:57:12 -05:00
Zack Piispanen
6bff818152
Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
2012-03-01 16:17:48 -05:00
Zack Piispanen
fd4880bcfe
Added in handler for TeamChange packet
2012-03-01 16:14:08 -05:00
Steven Hartland
5c380f0f6e
Merge pull request #421 from stevenh/simple-fixes
...
Adds -logformat & -logclear command line options
2012-03-01 02:18:29 -08:00
stevenh
dbda83b8e7
Corrected compat ForceKick method signature
2012-02-28 11:38:30 +00:00
stevenh
18e52d1a25
Added protection against downstream exceptions when saving the world
2012-02-28 11:38:17 +00:00
stevenh
99384180c8
Added -logformat <datetime-format> & -logclear <bool> command line options to fix #420
2012-02-28 00:16:48 +00:00
Steven Hartland
b63cca0415
Merge pull request #406 from stevenh/6c636d4084e1a15d053652f1125c167a4b60b2d3
...
Refactored IQueryBuilder extracting common code into the GenericQueryCreator
2012-02-27 03:18:12 -08:00
Lucas Nicodemus
6527799ec0
Separated out all sections into smaller files for easier browsing :)
2012-02-26 03:31:22 -07:00
Lucas Nicodemus
c62bd442ec
Permissions now outputs a better markdown dump
2012-02-25 23:28:18 -07:00
stevenh
b6b5a2f1ca
Added compatibiliy shims for old method signatures without which existing compiled plugins will error with missing method ...
...
This fixes #410
2012-02-24 11:37:43 +00:00
stevenh
d813a60060
Fixed resource leak in GetUser fixes #404
...
Multiple user exception is now passed direct to the caller of GetUser instead of being wrapped
2012-02-22 16:09:40 +00:00
stevenh
6c636d4084
Refactored IQueryBuilder extracting common code into the GenericQueryCreator
...
Fixed MysqlQueryCreator UpdateValue generating invalid SQL fixes #400
2012-02-22 11:47:09 +00:00
stevenh
41dbd31aac
Converted all files to LF line endings
2012-02-21 15:56:34 +00:00
stevenh
3890a82b0e
Fixed missing SaveManager.cs from project file fixes #401
2012-02-21 14:38:36 +00:00
stevenh
988bc4198b
Server either console can now kick and ban players regardless of the players immune permissions which fixes #391
...
Refactored Utils ForceKick to call Kick so we have one core method with all the logic in
Added missing params to docs for Kick and Ban
2012-02-21 01:07:41 +00:00
stevenh
aeab6d9e45
Fix for getting Mythical prefix by name fixes #374
...
Also optimised processing so it only does one pass instead of two as well as minimising string manipulation functions
2012-02-21 00:19:50 +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
84789ff4d5
Fixed GetUser not locating users by ID and hence GetUserById not working either, fixes #395
2012-02-20 21:44:25 +00:00
stevenh
4c09e7b66f
Potential fix for #390 fixing the return of group.Permissions listing permissions as negated permissions
...
Added TotalPermissions method to get the combined total permissions as used for HasPermissions
Added totalpermissions to output of /v2/group/read output in RestAPI
2012-02-20 10:58:46 +00:00
stevenh
1bc785f398
Fixes #392 making user group changes take effect on active players instantly
2012-02-20 10:56:06 +00:00
k0rd
bc2fdf3eab
add gems and demonite to genore
2012-02-17 03:12:10 -05:00
k0rd
a79b346d3c
support group modification and deleting usernames containing a DOT (.)
2012-02-16 23:00:22 -05:00
stevenh
dee2c1a9f4
Refactored output processing to always return RestObject's
...
Refactored method names to be consistent with function e.g. Off -> ServerOff
Added new endpoints:-
/v2/server/status - Status query including player and rules matching common query tool requirements such as qstat. The json returned uses native types e.g. int's where possible
/v2/groups/list - Lists groups
/v2/groups/read - Query group detail
/v2/groups/destroy - Remove a group
/v2/groups/create - Create a group
/v2/players/list - Lists players including basic details
/v2/users/create - Create a user
/v2/users/list - Lists users basic user details applying a filter if specified.
Refactored missing parameter and error handling to use common utility methods RestError, RestMissingParam which ensures consistency across all functions and protects against null object references
Removed maxplayers from /status to ensure 100% compatibility, this and more details can be found in the new end point /v2/server/status
Protected against null names in user/activelist
Refactored variable checks to use string.IsNullOrWhiteSpace where applicable to capture errors early in the RestAPI
Added the ability to location users by "id" matching the underlying API.
Refactored locating players, bans & users to utility methods to ensure consitency across the api and eliminate duplicate code making for easier maintainence
NOTE: Duplicate and invalid DB entries currently can still be made if the DB format hasn't been updated to with missing unique and not null constaints
Removed { RequiresToken = true } from RestCommand constructors as this is the default anyway.
Optimised function calls so that tests are processed sequentially avoiding unnessasary operations in failure cases
Cleaned up formatting ensuring consistent line endings, indentation and single line if layout
Fixed ServerCommand duplicate key issue for multi line returns, now uses a single "response" string with embeded newlines
Fixed PlayerKill output using verb instead of parameters for "from" option
2012-02-16 12:03:08 +00:00
stevenh
c258406bcb
Added parameterless constructor for RestObject required for JavaScriptSerializer.Deserialize
2012-02-16 12:01:02 +00:00
stevenh
d862d7922e
Added better support for detection of duplicate users
...
Corrected and enhanced exception message for GetUser
2012-02-16 11:30:44 +00:00