Commit graph

250 commits

Author SHA1 Message Date
Lucas Nicodemus
9e012b3327 Fixed /tphere saying the wrong text
More work on region fuck
2011-07-14 03:00:19 -06:00
Lucas Nicodemus
5b79212b8f Tweaked around with the region code a lot.
Databases will need to be rebuilt past this build.
2011-07-14 01:47:57 -06:00
Lucas Nicodemus
eba1714644 This code is like opening up a cereal box and finding more and more useless bits of plastic each time you open the same box. 2011-07-13 22:42:26 -06:00
Lucas Nicodemus
fa8bf82e35 Changed File.Delete to use Path.Combine 2011-07-13 12:41:48 -06:00
high
6468ed7562 This is not C, stop doing return codes especially without doing an enum.
Databases can store other things besides strings.
If you do not like changes from this commit feel free to revert it. Just giving some last insight on this branch.
2011-07-13 14:14:39 -04:00
Deathmax
35be16e6a7 Kamilion's patch.
Fix UserManager.
Add some logging and console messages.
2011-07-13 20:54:54 +08:00
Lucas Nicodemus
a691202e03 Attempting to fix adding an IP admin 2011-07-13 04:25:18 -06:00
Lucas Nicodemus
d021c9077f Sanity checking against IP address based admins. 2011-07-13 03:52:48 -06:00
Lucas Nicodemus
2dbed5f9d2 We now add IP addresses to the IP column, not the username column 2011-07-13 03:38:56 -06:00
Lucas Nicodemus
373d9118ac Group isn't required for /user del 2011-07-13 03:21:40 -06:00
Lucas Nicodemus
bab6d6cd2e /auth-verify now removes authcode.txt
Some strings have been shortened to comply with Terraria's inability to move text that is too long to the second line.
2011-07-13 03:03:02 -06:00
Lucas Nicodemus
cbc6bd2751 Fixed a lot of database stuff. 2011-07-12 21:30:55 -06:00
Deathmax
6def12b517 Changed the format for logging logins. 2011-07-12 18:44:49 +08:00
Deathmax
fa18c5ea54 Successful logins are now logged. 2011-07-12 18:43:17 +08:00
Lucas Nicodemus
b0a678710c Added some outputs in the event that auth eats your command. 2011-07-12 01:41:52 -06:00
Lucas Nicodemus
7bc49e29e0 /auth now grants superadmin internally and adds the user to the db 2011-07-12 01:37:29 -06:00
Lucas Nicodemus
236cf6b42b Added /user del - Which removes a user/ip from the database. (Or, if I did the SQL wrong, will remove every row from the database) 2011-07-12 00:54:03 -06:00
Lucas Nicodemus
101aaa4856 Added UserManager.RemoveUser(string inputUser, bool ip) 2011-07-12 00:44:39 -06:00
Lucas Nicodemus
b629c6e48f Added authcode.txt, which will contain the auth code until the auth system is disabled. GSPs may provide this with the thought that users will be able to become superadmin a lot easier than before.
Fixed numerous cases where paths were incorrect, thanks to what ever dev has a Paths.Combine fetish, and doesn't want to use the obsolete function.
2011-07-12 00:22:10 -06:00
Lucas Nicodemus
8f5d33e49b Added /auth-verify to turn off the auth system. 2011-07-12 00:04:15 -06:00
Lucas Nicodemus
ae7763676e Moved credits 2011-07-11 23:22:50 -06:00
Twitchy
9cefc69075 Merge branch 'sql' of github.com:TShock/TShock into general-devel-sql (test) 2011-07-12 15:49:24 +12:00
Twitchy
3e17e42a37 Adds MySql Support 2011-07-12 13:31:36 +12:00
Lucas Nicodemus
6c96314c32 /displaylogs functions as intended now.
Closes #231
2011-07-11 02:07:29 -06:00
Deathmax
57fc745c56 Ignore no free slots if item is a coin 2011-07-09 23:17:04 +08:00
Twitchy
243b0297b9 Commands /region list and /warp list now work
Regions now use User ID's for /region allow (can be IP or Username/password based ID)
Minor Tweaks
A reset of your database is recommended
2011-07-09 20:41:31 +12:00
Twitchy
cb7033d89c Adds UserManager to sql
Changes the way Warps and Regions are stored
A few other minor tweaks
2011-07-09 16:33:07 +12:00
Deathmax
d8d19f88e5 Fixed and enabled /annoy 2011-07-08 21:27:44 +08:00
Twitchy
16a90f3240 Added SQL Regions and Fixed SQL Warps 2011-07-08 23:36:53 +12:00
Deathmax
08843714a3 /annoy (currently disabled) 2011-07-08 19:27:18 +08:00
high
6d531283fc Moved BanManager/WarpsManager
Added UserManager (empty)
2011-07-08 04:00:53 -04:00
Deathmax
ec39d41654 Fix /reply not properly replying to the last person who you whispered/whispered to you. 2011-07-07 21:38:28 +08:00
Lucas Nicodemus
cf7323d653 Adds /ip <player> and returns the Internet Protocol Version 4 address of the player.
Closes #219
2011-07-07 01:32:49 -06:00
Deathmax
da60e1cd0c Indicate when Teleport has failed. 2011-07-06 22:09:15 +08:00
Deathmax
f3e3c4dafc Completely removed /buff 2011-07-06 22:00:34 +08:00
Steven French
b090b1fe96 Warps are now SQL based (sql branch)
Need to make warps auto copy from old structure
2011-07-05 21:08:11 +12:00
Lucas Nicodemus
34d39bd8d3 Read hashes are now converted to uppercase when checked to preserve computability with php's sha512 hashing. 2011-07-05 00:58:06 -06:00
Steven French
35eae48dfe Merge branch 'general-devel' of github.com:TShock/TShock 2011-07-04 21:45:45 +12:00
Deathmax
2d53001197 Merge commit '65a7998b16' into general-devel
Conflicts:
	TShockAPI/Commands.cs
2011-07-04 17:08:40 +08:00
high
65a7998b16 Do not log /login and /user 2011-07-04 01:07:44 -04:00
Steven French
60b21e4c1a Adds /setspawn again
This edits your maps spawn tile, use wisely.
2011-07-03 20:20:41 +12:00
Deathmax
473d554de1 Chest KillTile is now subject to region protection.
Non-working /buff
2011-07-03 20:20:39 +12:00
Deathmax
e4bcadcdc4 Changed some of the command permissions 2011-07-03 20:20:39 +12:00
Deathmax
843d7b4469 Chest KillTile is now subject to region protection.
Non-working /buff
2011-07-03 14:12:09 +08:00
Deathmax
0975c7b6bf Changed some of the command permissions 2011-07-03 13:10:04 +08:00
Deathmax
31cf5c1ae7 Fix /login /user being logged 2011-07-03 13:07:00 +08:00
Deathmax
e4ee06f659 Broadcast on saveWorld.
(Latest API required)
2011-07-03 10:51:49 +08:00
high
91abde27d2 ConfigFile and ConfigurationManager merged into 1.
Check OnConfigRead for a list of variables that will now be updated when the config file is reloaded.
2011-07-01 13:19:16 -04:00
Deathmax
64db44d245 Fixed issue with /whisper 2011-07-01 22:42:04 +08:00
high
bfd8ed5685 Merge branch 'general-devel' of github.com:TShock/TShock
Conflicts:
	TShockAPI/Commands.cs
	TShockAPI/TSPlayer.cs
2011-07-01 10:04:03 -04:00