diff options
| author | Heihachi <gamehacker953@gmail.com> | 2014-11-11 00:58:13 +0000 |
|---|---|---|
| committer | DDuarte <dnpd.dd@gmail.com> | 2014-11-11 00:58:13 +0000 |
| commit | 87fb23d8aba5893246bc5216bfb90fe267e5a257 (patch) | |
| tree | 9c95b016fbfbd19bf70990becebc92a0d28cc10f /sql/updates | |
| parent | 9c55d9fdebb821ac102a2b7e7a2a1ef0b92ac26c (diff) | |
Scripts/Commands: mod xp command
Closes #13476
(cherry picked from commit 3e03e546d3106bf8930e30ab9c2008b0e696e125)
Conflicts:
sql/base/auth_database.sql
src/server/scripts/Commands/cs_modify.cpp
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.'); |
