Ruby Rose
685d9964f0
Change enum names for clarity
2017-07-17 09:06:29 +03:00
Ruby Rose
79f66f554f
Turn the player hooks into a tristate
2017-07-17 09:06:29 +03:00
Ruby Rose
81cb1381b4
Add hooks for item/projectile/tile bans
2017-06-07 15:32:40 +03:00
ZIT WANG
85b0b7bc6a
Fix an itemban issue due to localization
2017-04-26 19:26:54 +08:00
Lucas Nicodemus
2a5efa65ae
Saving work to apply merge changes
...
Currently moving .name to .Name and things like that from Item
2017-04-19 17:12:38 -06:00
White
c4a3a9fb67
Updated Copyright for 2017
2017-03-13 12:17:16 +10:30
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy)
2016-12-06 17:36:44 -07:00
Adilson Carvalho
49b4effe74
Changed year to 2016 on all GPL headers
2016-10-16 17:06:02 -02:00
Enerdy
aa419283a9
Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible.
2016-01-11 14:37:02 +00:00
Lucas Nicodemus
6e0de64f18
Remove more broken/obsolete/dead code
2015-02-28 19:15:19 -07:00
Lucas Nicodemus
04145a4aca
Re-add EnsureExists signature to fix compat with old plugins
...
Fixes #862
2015-02-22 08:43:12 -07:00
Zack
f9bf470b1d
Tick version and update copyright
2015-01-28 15:29:13 -05:00
Zack Piispanen
d5527ade42
Add length to database primary keys.
...
Tweak some of the itembans code to be less inefficient.
Removed a chunk of code from the buff code that prevented users from being buffed with a buff that comes from an item. This code seemed to cause max cpu usage when being disabled. I don't think this code is useful, but I leave that to people who own servers. IMO all buff code should be removed.
2014-09-15 09:05:28 -04:00
Zack
fb451c6d49
Update license header for 2014
2014-07-10 21:48:33 -04:00
Zack Piispanen
4c5c2ba0de
Convert Itemban.HasPermission to check if user has Permission.usebanneditem and remove redundant checks elsewhere.
2013-10-19 12:34:00 -04:00
PhoenixICE
dd3883b393
ItemBan Use Group Parenting
...
Made Item bans now abide by group parenting.
2013-10-11 21:12:47 +11: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
8d5cdf04a8
Update copyright to reflect actual year date.
2012-04-24 12:45:46 -06:00
Natrim
4eeb09fb58
somepony forgot debug message here
2012-01-12 14:29:00 +01:00
Natrim
e113982158
don't display '()' in banned item list when no allowed groups is available
2012-01-11 11:29:27 +01:00
Natrim
5b7971f753
fix for banitem deleting in MYSQL
2012-01-11 11:29:13 +01:00
Natrim
2e7fa14a91
add commands for allowed groups for banned items
2012-01-10 11:17:54 +01:00
Natrim
b4d6908f98
add list items command to display banned items
2012-01-10 11:17:24 +01:00
Lucas Nicodemus
bf9d0137f1
Added any missing license headers to all files
2012-01-01 03:06:48 -07:00
Lucas Nicodemus
4709093553
Remove flat file shit from item bans
2012-01-01 02:54:38 -07:00
Lucas Nicodemus
c6abbfe4d2
ReSharper code reformat to match naming conventions and stuff
2011-12-30 14:38:04 -07:00
Zidonuke
2367598945
Fix Console Spam with group names
2011-12-29 16:17:19 -05:00
Zidonuke
34efba9c1f
Changed hack detection to allow future permissions overrides, now prevents hack clients modding max hp while online.
2011-12-28 21:03:29 -05:00
Zidonuke
8f22ca4950
Attempt to fix unit tests.
2011-12-28 12:27:14 -05:00
Zack Piispanen
4c468b7f3c
Item bans now have a group component. Adding a group to an item ban will allow that group to use the item.
...
Also fixed chests/items in chests being null when we truncate stack sizes.
Added code to let anyone with manageregion permission to modify regions...make sense.
2011-12-27 19:14:42 -05:00
Lucas Nicodemus
8514140ca7
As per High's complaining, holocaust against the Tools class (now Utils)
...
Plugin developers: You really need to change to reference this.
2011-12-01 23:24:02 -07:00
high
1a801b268c
All managers now use querybuilder for creating tables to make for easy changes.
2011-08-03 19:55:23 -04:00
high
cc907b9e09
Use the DBExt query functions
2011-08-02 17:24:30 -04:00
Lucas Nicodemus
37146adb4c
Resharper code cleanup, including:
...
- Optimized using statements
- Removal of redundant code
2011-07-26 23:37:06 -06:00
high
57a2d082ef
Added query function for easier queries.
...
Normalized method names in GroupManager.cs
2011-07-24 10:12:18 -04: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
Zack Piispanen
15af989826
remove debug code *that wasnt there on last commit, i swear*
2011-07-22 17:24:58 -04:00
Zack Piispanen
2c2097dc08
Move the code to pull all items from the db outside of the if file exists loop.
...
TSDEV-46
2011-07-22 17:06:58 -04:00
Zack Piispanen
a4a2cf0ce0
Itembans now convert to db stuff
2011-07-19 18:16:57 -04:00
Lucas Nicodemus
77ed57a4bd
PRIMARY KEY, thanks SQLite for being a FUCKING DICKBAG
2011-07-13 02:47:32 -06:00
Lucas Nicodemus
2608ca0779
We want PRIMARY keys, not UNIQUE keys, because UNIQUE without PRIMARY means absolute BULLSHIT.
2011-07-13 02:42:06 -06:00
Twitchy
eda5cfc10d
Fixes SQL not working correctly. and saving
2011-07-12 22:47:36 +12:00
Twitchy
30d0d48386
Added reader closing (if it will help) and returns default group rather than "null"
2011-07-12 21:16:59 +12:00
Twitchy
b74455433e
Changed Exception catch types. Removed trying to insert to ID field
2011-07-12 19:36:17 +12:00
Twitchy
3e17e42a37
Adds MySql Support
2011-07-12 13:31:36 +12:00
Twitchy
b5ca97ae35
Adds a whole bunch of SQL logging
2011-07-11 20:31:25 +12:00
Twitchy
bbcf84ed4a
Adds Itembans into SQL, in game commands not added yet, but can use a DB editor to add bans
2011-07-10 13:08:19 +12:00