TShock/TShockAPI
Lucas Nicodemus 195a23a7e5 Migrate most of CheckTilePermission to TSPlayer
TShock.CheckTilePermission(ply, x, y, paint) has been replaced with
TSPlayer.HasPaintPermission and TSPlayer.HasBuildPermission
respectively. These two methods dramatically simplify the logic required
to process build permissions.

Still todo after this commit:

1. Implement warnings for when a player fails a permission check on
build. This is probably going to be accomplished by a default argument
to the HasBuildPermission signature.

2. Create a variant that checks for ice tile permission and use like
HasPaintPermission() so as to remove the other
TShock.CheckTilePermission method.

Annoyingly, all of the existing methods that start with Check seem to
"check" if they player _doesn't_ have permission (true = no permission),
which makes nearly every call negative.
2017-12-22 00:31:02 -07:00
..
CLI Updates the commandline parser to not be broken. 2017-12-09 15:19:34 +10:30
DB Merge branch 'general-devel' into sql_improve 2017-12-09 21:05:16 -07:00
Extensions Format better 2017-12-09 16:04:27 +01:00
Hooks missed some more declarations 2017-12-08 01:48:08 +01:00
Localization Fix duplicate statement 2017-04-22 07:21:48 +08:00
Net Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Properties Merge branch 'master' into general-devel 2017-12-12 03:02:00 -07:00
Rest Pre-initialize TShock hooks for Register method 2017-12-20 12:35:42 -07:00
ServerSideCharacters Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Sockets Change field visibility 2017-08-04 12:52:07 +02:00
app.config Saving work to apply merge changes 2017-04-19 17:12:38 -06:00
BackupManager.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Bouncer.cs Migrate most of CheckTilePermission to TSPlayer 2017-12-22 00:31:02 -07:00
Commands.cs Renamed IgnoreActionsForClearingTrashCan to conform w/ changes 2017-12-20 17:33:18 -07:00
ConfigFile.cs But still use discouragement colors 2017-12-06 17:39:09 -07:00
FileTools.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
GeoIPCountry.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
GetDataHandlers.cs Migrate most of CheckTilePermission to TSPlayer 2017-12-22 00:31:02 -07:00
Group.cs Revert "Remove superadmin customization config options" 2017-12-06 17:35:51 -07:00
HandlerList.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
ILog.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
IPackable.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
NetItem.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
packages.config update otapi 2017-12-09 17:57:33 +01:00
PaginationTools.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Permissions.cs Remove stupid updates permission. Fixes #1540. 2017-12-11 15:45:23 -07:00
PlayerData.cs Replace NetworkText.FromLiteral("") with NetworkText.Empty 2017-04-20 00:31:33 -06:00
Resources.Designer.cs Remove headers from autogenerated file 2016-10-17 11:28:34 +05:30
Resources.resx Remove 2 year old config files... 2013-10-01 20:55:19 -04:00
SaveManager.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
SqlLog.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
StatTracker.cs Ate one newline. 2017-09-20 17:42:32 +02:00
TextLog.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
TShock.cs Migrate most of CheckTilePermission to TSPlayer 2017-12-22 00:31:02 -07:00
TShockAPI.csproj Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-10 23:45:03 -07:00
TShockAPI.licenseheader Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
TSPlayer.cs Migrate most of CheckTilePermission to TSPlayer 2017-12-22 00:31:02 -07:00
TSServerPlayer.cs Renamed TShockAPI.DB 'User' to 'UserAccount' 2017-12-08 01:38:15 +01:00
UpdateManager.cs Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Utils.cs Move TShock.CheckSpawn to Utils.IsInSpawn 2017-12-21 19:54:14 -07:00
web.config Saving work to apply merge changes 2017-04-19 17:12:38 -06:00