diff options
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/auth/2014_11_10_01_auth.sql | 9 | ||||
| -rw-r--r-- | sql/updates/world/2014_11_10_05_world.sql | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/auth/2014_11_10_01_auth.sql b/sql/updates/auth/2014_11_10_01_auth.sql new file mode 100644 index 00000000000..0f89140ecf4 --- /dev/null +++ b/sql/updates/auth/2014_11_10_01_auth.sql @@ -0,0 +1,9 @@ +/* add rbac permissions to new commands */ +DELETE FROM `rbac_permissions` WHERE `id`=798; +INSERT INTO `rbac_permissions` (`id`,`name`) VALUES +(798, 'Command: .mod xp'); + +DELETE FROM `rbac_linked_permissions` WHERE `id`=798; +INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES +/* add mod xp to gms */ +(194, 798); diff --git a/sql/updates/world/2014_11_10_05_world.sql b/sql/updates/world/2014_11_10_05_world.sql new file mode 100644 index 00000000000..2ffd85afa5e --- /dev/null +++ b/sql/updates/world/2014_11_10_05_world.sql @@ -0,0 +1,5 @@ +DELETE FROM `command` WHERE `name`='pvpstats'; +INSERT INTO `command` (`name`, `permission`, `help`) VALUES +('modify xp', 797, 'Syntax: .modify xp #xp + +Gives experience points to the targeted player or self.'); |
