Zidonuke Ghost
b2a8198bb1
Client UUID Implementation: Bans and User Auth.
...
Send ServerSideCharacter flag if set in WorldInfo.
2013-10-01 04:35:49 -04:00
Zack Piispanen
d71aacc58d
Did some tweaks to Teleport to make the bounds checks in one place.
...
Fixed item drop packet, as well as update the bounds.
2013-09-30 19:34:43 -04:00
Zack Piispanen
c17b661166
Stripped out stupid shit
...
Commented packets we dont know about yet.
2013-09-28 17:32:03 -04:00
Zack Piispanen
dea360869b
Refactored the many matches found redundancy by adding a utils method. Changed the csproj to build x86 instead of anycpu which was causing issues for release.
2013-09-27 01:42:13 -04:00
Zack Piispanen
856def83b3
Added basic framework for allowing for ban durations and banning admin.
...
Added BanningUser, Date(of ban), and Expiration to the db
On join, Expiration is checked, if ban is expired we remove it and the user is allowed on.
When running the ban command, your UAN is used as the banning user, and the date is that moment, with no expiration.
#531
2013-09-22 16:04:12 -04:00
Zack Piispanen
7c0bcceb9f
Added LastAccessed time field and KnownIPs field to the user database. This resulted in some changes everywhere, such as new logic with default groups. Apparently, somehow, the ip based stuff worked even though no ips were set to properly grab the user group. The wrong group was being assigned to new users resulting in a player with 0 permissions. This is now fixed.
2013-09-21 20:57:14 -04:00
Zack Piispanen
ba42fb08df
Removed ip address from users, as well as changed /user add syntax to be '/user add username password group' instead of colon bullshit.
2013-09-21 17:11:22 -04:00
Zack Piispanen
b22457382e
remove unused using statements
2013-09-17 02:24:02 -04:00
Lucas Nicodemus
ae7ab5f234
Updated copyright information to point to 2013.
2013-08-22 21:51:17 -06:00
Lucas Nicodemus
9470e20423
Line ending normalization to CRLF (Windows)
2013-08-22 21:17:32 -06:00
CoderCow
0ea83746cf
-Added REST per-endpoint permissions.
...
-Added REST endpoint "/v2/server/restart".
-Added REST endpoint "/v2/server/reload".
-Added REST endpoint "/v3/server/rawcmd", will output all returned lines as an array instead.
-Added "uptime", "serverpassword", "rules/ServerSideInventory" fields to REST endpoint "/v2/server/status".
-REST requests are now logged.
-Endpoint "/v2/server/rawcmd" does now check whether the user has the sufficient permission to execute the command.
-Fixed Config.EnableTokenEndpointAuthentication not working properly before.
-Removed obsolete "api" permission (only "restapi" now).
2013-07-25 19:52:12 +02:00
CoderCow
d1f1e422a0
-Ingame log messages are no longer shown to the player who caused them.
...
-Changed ingame log message color to something more unique for better identification.
2013-07-22 12:22:39 +02:00
CoderCow
33b1ca969b
-Added "-d" parameter to "/region info". Use to display the given region's boundaries as wires.
2013-07-01 20:06:17 +02:00
Lucas Nicodemus
778f0b4f77
Fixed #457
2012-09-23 01:00:53 -06:00
MarioE
fda287d78d
More fixes
2012-09-01 15:22:34 -04:00
MarioE
c8dde957f9
Fix a bug
2012-09-01 15:15:19 -04:00
MarioE
98875e16ac
No need for a duplicate method.
2012-08-21 10:32:47 -04:00
MarioE
8c8ca02d88
fsdfgsg
2012-08-20 11:19:18 -04:00
MarioE
500fc6b211
Optimize some GetBy* methods, also fix up the project file.
2012-08-20 11:16:00 -04:00
MarioE
76c7b3fe8e
Chest + boulder exploit
2012-08-15 20:17:34 -04:00
MarioE
2c769410f8
Fixed ban messages
2012-06-03 09:12:27 -04:00
Zack Piispanen
be45fb762b
Removed some deprecation messages. Added some more docs.
2012-06-01 13:08:53 -04:00
Lucas Nicodemus
9dcd58435e
Replaced half of like all the messages to players with the new methods
...
Deprecated use of Utils.Broadcast; Use TSPlayer.All instead.
Removed some really freaking odd capitalization issues.
2012-05-30 02:12:51 -06:00
Lucas Nicodemus
7f5ee044c9
Removed dumb comment by developer regarding the method Utils.ShowFileToUser not working because it works fine ffs
2012-05-29 20:21:06 -06:00
Lucas Nicodemus
52aa90ff9a
Thoreatically, /who should be paginated now
...
Version is now its own command with a different permission.
2012-05-29 00:26:09 -06:00
Lucas Nicodemus
8bcc24da7e
Added some code to enable chat above heads
2012-05-27 10:19:52 -06: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
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
ca5d68b838
Second upstart hold on
2012-05-26 05:12:59 -06:00
Lucas Nicodemus
98ea8cfd8f
Upgrade project file to round trip upgrade VS11-2010
...
According to the Microsoft website and various other places, we can
safely upgrade to this format and still allow people who are a version
behind to keep that. This should change virtually nothing.
2012-05-26 05:05:51 -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
Lucas Nicodemus
576a1d97fe
Kick & ForceKick are now defaulting don't save SSI
2012-05-25 19:32:14 -06:00
Lucas Nicodemus
73ff9145c1
Test
2012-05-24 10:46:05 -06:00
Lucas Nicodemus
0452d4f0ac
Added dontSaveSSI to Kick & ForceKick
...
Allows for preventing SSI to save in the event of an inventory related
issue that might diverge from SSI's preventions.
2012-05-24 10:27:33 -06:00
Lucas Nicodemus
2169d455af
Fixed a potential issue surrounding silent kicks
...
This should resolve any issues where a player being kicked prior to join
has a mesasge sent to chat. If not, then the method calling the
ForceKick function isn't specifying that it should be silent.
2012-05-24 10:20:41 -06: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
8d5cdf04a8
Update copyright to reflect actual year date.
2012-04-24 12:45:46 -06: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
Zack Piispanen
f672f50783
Forcekick now saves the users inventory.
2012-04-15 15:46:07 -04:00
stevenh
dbda83b8e7
Corrected compat ForceKick method signature
2012-02-28 11:38:30 +00: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
41dbd31aac
Converted all files to LF line endings
2012-02-21 15:56:34 +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
c5497acae7
Check for null in FindPlayer to avoid errors on null object
2012-02-13 22:23:01 +00:00
Zack Piispanen
1306043c00
Added permission for seeing ids when using /who
...
Also added in the ability to see ids when using /who. Good for quickly adding ids to a region.
2012-01-26 19:41:12 -05:00
Lucas Nicodemus
b5c4eb8e21
More XML documentation!
2012-01-21 23:52:17 -07:00
Deathmax
672d360e9d
Merge fail
2012-01-20 14:35:59 +08:00