Commit graph

794 commits

Author SHA1 Message Date
Zack Piispanen
7f2ff7614f Premissions now inherit from groups listed anywhere in the db, not just below them.
TSDEV-39
2011-07-22 16:29:29 -04:00
Lucas Nicodemus
a8e55d44e6 Added EnableAntiLag to ConfigFile.cs 2011-07-21 15:07:28 -06:00
Lucas Nicodemus
d1e29e1035 VERSION TICK: 3.0.0.0721 2011-07-21 15:05:52 -06:00
Lucas Nicodemus
91c1430f3c Not using OrderBy as much anymore. 2011-07-21 15:03:52 -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
167c51d048 Removed spam on canbuild message. 2011-07-21 14:24:17 -06:00
Lucas Nicodemus
3744e49592 Added a config option (default off) for banning by usernames. 2011-07-21 12:39:01 -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
0aea895a59 Import system now imports UserIDs 2011-07-21 12:31:11 -06:00
Lucas Nicodemus
cd018fed8d Regions are now UserID based. 2011-07-21 12:25:57 -06:00
Graham Cantin
9f6038205f * high6's amazing lag-destruction patch...
255 syncs per player? To quote sealab2021:
THERE CAN BE ONLY... NONE.
2011-07-21 09:03:38 -07: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
Zack Piispanen
3ce6de9e20 Merge branch 'master' of github.com:TShock/TShock
Conflicts:
	TShockAPI/Group.cs
	TShockAPI/TShock.cs
2011-07-20 20:58:26 -04:00
Zack Piispanen
cfcc0e7276 groups work, with inheritance, still need to remove order by 2011-07-20 20:55:49 -04:00
Lucas Nicodemus
8fa45f4aae Attempting to fix permissions 2011-07-19 20:36:15 -06:00
high
4270d72047 Merge branch 'master' of github.com:TShock/TShock 2011-07-19 21:27:28 -04:00
high
903a862d62 Changed a lot of RegionManager, fixed the file moving.
RegionManager is broken right now. Before it was adding ips to the userids table. Right now it doesn't import anything for userids. Also the function that uses AllowedIDs is expecting usernames instead of userids.
2011-07-19 21:26:34 -04:00
Zack Piispanen
7bac787aa5 Merge branch 'master' of github.com:TShock/TShock 2011-07-19 19:48:16 -04:00
Zack Piispanen
453d3ea3b6 group recursively gets permissions 2011-07-19 19:48:07 -04:00
high
cfd2fdcb67 Tidied GetIPv4Address, it does return the ip if an ip is passed 2011-07-19 19:36:39 -04:00
Zack Piispanen
e1776f8d01 Merge branch 'master' of github.com:TShock/TShock 2011-07-19 19:30:25 -04:00
Zack Piispanen
e5826fbc0a Converts Warps to db files, and fixes a bug in region code.
Currently, the program fails to copy the old xml files to the new directory, so you may want to manually do that.
2011-07-19 19:30:07 -04:00
Lucas Nicodemus
407d327236 Attempting a work around for DNS host resolution. There will now be a configuration parameter that will enable the check. This is expensive, and not recommended, but a better reserved slot system will be done in the future.
Closes #254
2011-07-19 17:27:54 -06:00
Lucas Nicodemus
d6c1f44219 Merge branch 'master' of github.com:TShock/TShock 2011-07-19 16:59:35 -06:00
Lucas Nicodemus
9c76bae4b2 Adds custom ban reasons to config.json
Closes #246
2011-07-19 16:59:15 -06:00
Zack Piispanen
12674c3ce2 regions now convert from xml to db 2011-07-19 18:40:46 -04:00
Zack Piispanen
a4a2cf0ce0 Itembans now convert to db stuff 2011-07-19 18:16:57 -04:00
Zack
c780993152 editted to save the db BEFORE refreshing the regions. 2011-07-19 09:36:36 -07:00
Zack
557d552956 Fixed for Bug 253, apparently someone forgot to clear the paramaeters before calling the next query. 2011-07-19 09:31:46 -07:00
Lucas Nicodemus
15eb769580 Import users into users, not bans (Thanks Twitchy) 2011-07-19 00:34:46 -06:00
Zack Piispanen
e7b7f44e7a users now convert to new sql database 2011-07-18 21:48:59 -04:00
Zack Piispanen
f08b94c8f8 Bans and Groups now convert from txt to db items.
Just put bans.txt and groups.txt in the tShock folder( where they already exist i believe ) and run the server.  It moves the files to tShock/old_configs in case you want to keep them.
2011-07-17 15:17:28 -04:00
Zack Piispanen
77998470bc Added worldID to where clause 2011-07-17 13:25:52 -04:00
Zack Piispanen
8e9bbcc5f9 Bug fix for region allow, updated the whole database, was missing a where clause 2011-07-17 13:18:04 -04:00
Lucas Nicodemus
3c4525749d Increased IP field size 2011-07-16 21:59:48 -06:00
Lucas Nicodemus
e684ecd289 Added vip group 2011-07-16 21:58:48 -06:00
Lucas Nicodemus
4ca7a9aeec Default permissions are fixed 2011-07-16 18:49:26 -06:00
Lucas Nicodemus
820b3c5c1f Removed debug message 2011-07-16 18:34:45 -06:00
Lucas Nicodemus
cb5a50f540 /region allow now works (and adds users) 2011-07-16 18:21:39 -06:00
Lucas Nicodemus
add7c74bec Region allow now refreshes the region cache, but no longer operates properly. 2011-07-16 18:16:52 -06:00
Lucas Nicodemus
75e3e58c80 Regions WORK! 2011-07-16 18:01:18 -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