Lucas Nicodemus
37146adb4c
Resharper code cleanup, including:
...
- Optimized using statements
- Removal of redundant code
2011-07-26 23:37:06 -06:00
Graham Cantin
3dd7af1a30
* Finally fixed /user group and /user password.
...
* Had to fix UserManager exceptions to UserNotExistException instead of UserExistsException.
* Added /user help as well. Commented out the old short circuit for now.
2011-07-24 20:28:07 -07:00
high
d39d9e5127
Reapplied my region changes that were lost from a bad conflict merge
2011-07-24 11:27:00 -04:00
high
57a2d082ef
Added query function for easier queries.
...
Normalized method names in GroupManager.cs
2011-07-24 10:12:18 -04:00
Lucas Nicodemus
5c59ebf71a
Merge remote-tracking branch 'remotes/origin/general-devel'
...
Conflicts:
TShockAPI/Commands.cs
TShockAPI/DB/GroupManager.cs
TShockAPI/DB/RegionManager.cs
TShockAPI/Properties/AssemblyInfo.cs
Terraria.sln
2011-07-23 17:25:20 -06:00
Zack Piispanen
a2f2ea1500
whoops pushed in some test stuff that would break commands fixed removeItem ban tho, so its all good
2011-07-23 17:03:10 -04:00
Zack Piispanen
347d701b7f
push for shank
2011-07-23 16:59:29 -04:00
Zack Piispanen
ffd0471326
initial unit testing work and a few tweaks to stuff relating to items
2011-07-23 15:21:56 -04:00
Lucas Nicodemus
aa85cfeccb
Fixed compiler error
2011-07-22 23:35:58 -06:00
Lucas Nicodemus
219f5a8cfb
WorldIDs
2011-07-22 23:35:21 -06:00
Zack
39754f6913
use ids ffs :\
2011-07-22 22:34:08 -07:00
Zack Piispanen
727ae2322b
Added new commands to allow users in game to create, delete, modify groups.
...
Added new methods to create, delete, modify groups.
Uhhh....dunno why RegionManager.cs was conflicted.
Added permission for accessing group commands
2011-07-22 23:14:56 -04:00
Steven French
fcde754784
Adds new permissions to DBEditor
2011-07-23 14:56:17 +12:00
Lucas Nicodemus
79e70bf90a
Merge branch 'master' of github.com:TShock/TShock
2011-07-22 20:28:52 -06:00
Lucas Nicodemus
4c53f5e672
Lower case account names please :)
2011-07-22 20:28:04 -06:00
high
64ca3e7148
Region list now uses the new code that warps use too.
2011-07-22 22:00:18 -04:00
high
1c2cead3c9
Fixed /warp list <page>
...
ListAllWarps now only returns names and only for the specified world.
2011-07-22 21:36:07 -04:00
Lucas Nicodemus
e1cd87f487
Fixed regions
...
Added /convert
2011-07-22 17:38:51 -06:00
Zack
634b3b8a8c
Using region list caused messages to talk about warps, copy pasta fail.
2011-07-21 19:23:34 -07:00
Lucas Nicodemus
a9b558e75d
Added some precautions against duplicates.
2011-07-21 15:27:15 -06:00
Lucas Nicodemus
b98614946d
Changed every instance of Main.worldID.ToString() to Main.worldName. You broke backwards compatibility with all other warp and region files by doing that.
2011-07-21 15:03:15 -06:00
Lucas Nicodemus
529f51d95e
Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
2011-07-21 12:31:58 -06:00
Lucas Nicodemus
cd018fed8d
Regions are now UserID based.
2011-07-21 12:25:57 -06:00
Graham Cantin
9b1c5fd230
Readded all my changes, I think.
2011-07-21 04:14:42 -07:00
Graham Cantin
395225ec28
Failed message in red for fail, not green for awesome
2011-07-21 04:08:21 -07:00
Graham Cantin
fab469c35f
Made sure /register checks for an existing user account before adding the user.
2011-07-21 04:07:44 -07:00
Graham Cantin
98c139584e
Whoops, forgot to update the help string...
2011-07-21 04:07:42 -07:00
Graham Cantin
fa57f79929
* Added /password to change a user's password. Verifies they are logged in first, and checks the old password against the old hash in the DB.
2011-07-21 04:07:39 -07:00
Graham Cantin
d89164590d
* Added /register <username> <password> Should get default group from the DB; just "default" for now.
2011-07-21 04:07:36 -07:00
Lucas Nicodemus
b9842a19c8
Fixed warps (and by that I mean nothing was broken anyway).
2011-07-21 01:19:55 -06:00
Lucas Nicodemus
cb5a50f540
/region allow now works (and adds users)
2011-07-16 18:21:39 -06:00
Zack Piispanen
7cef36cfd0
Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
2011-07-16 16:16:04 -04:00
Zack Piispanen
7e4c851297
Added in support for giving certain amounts of items.
...
/item <id/name> [amount]
It tries to parse it as an int, if it fails( or there is no amount specified ) it defaults to item.maxStack.
If it succeeds it sets the amount to whichever is larger, the amount or the items max stack.
Closes Issue #202
2011-07-16 16:11:46 -04:00
Lucas Nicodemus
d6aa8da433
/time day is a little more day than it was before
2011-07-16 13:54:29 -06:00
Lucas Nicodemus
141e2eec64
Changed debug command back to /debugreg
2011-07-16 02:34:58 -06:00
Lucas Nicodemus
acc5784d16
Fixed region detection
2011-07-16 02:34:16 -06:00
Lucas Nicodemus
a8d8dbf31d
Debug stuff
2011-07-16 02:12:51 -06:00
Lucas Nicodemus
b98c84fa5b
Attempting to fix region detection
...
Attempting to fix /protect
2011-07-15 22:56:51 -06:00
Lucas Nicodemus
c701164abc
Fixed /region allow
...
Closes #239
Removed support for adding IP based users to regions
2011-07-14 18:16:35 -06:00
Lucas Nicodemus
e87c497cbd
Region up to date
2011-07-14 17:57:48 -06:00
Lucas Nicodemus
fcbaa5c056
Dunno
2011-07-14 17:21:24 -06:00
Lucas Nicodemus
2469e293ab
Actually add the user when /user add is run
2011-07-14 13:52:44 -06:00
Lucas Nicodemus
080ba6ca2b
Blank passwords no longer result in "heightheightheightheight"
...
Try/Catch around login function
2011-07-14 13:50:00 -06:00
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