Commit graph

300 commits

Author SHA1 Message Date
high
363d528dfb Lower cased the command names 2011-08-05 00:39:24 -04:00
Twitchy
dd33927e76 Added private/public warps. Todo before release - make warps with spaces hide. (Too tired. Cannot finish) 2011-08-02 23:18:53 +12:00
Lycaonj
2eeabb4c2f Added null reference check when unbanning a player name and EnableBanOnUsernames is set to false. Few grammar related fixes related to unbanning. 2011-07-30 22:34:04 -05:00
Lucas Nicodemus
5ec03c8e08 Fixed /unban not working with BanOnUsernames disabled. 2011-07-30 20:59:10 -06:00
Lucas Nicodemus
1e2fa5cc74 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-07-30 16:58:54 -06:00
Lucas Nicodemus
fe2d7e443c Implemented default registration groups 2011-07-30 16:58:36 -06:00
Zack Piispanen
42fb9d8292 Items can now be banned/unbanned in game by users with permission group manageitem and by using /addItem name/id as well as /delItem name/id 2011-07-29 18:51:53 -04:00
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