summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-08 00:05:44 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-08 00:05:44 -0300
commit3a3416c1c54565dd979651ca31e17c2eb49322b2 (patch)
tree739f2e0588ea02284599ba808b7253d49f9da7a8 /db
parente37f9c615bfbe9a999447832fe7975d95719ee9f (diff)
downloadserverdata-3a3416c1c54565dd979651ca31e17c2eb49322b2.tar.gz
serverdata-3a3416c1c54565dd979651ca31e17c2eb49322b2.tar.bz2
serverdata-3a3416c1c54565dd979651ca31e17c2eb49322b2.tar.xz
serverdata-3a3416c1c54565dd979651ca31e17c2eb49322b2.zip
Safety against undue use of my cap :inGame_e:
Diffstat (limited to 'db')
-rw-r--r--db/re/item_db.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 3eed20a07..556d34cc3 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -9589,8 +9589,16 @@ item_db: (
noselltonpc: true
}
Nouse: {
- override: 80
+ override: 99
}
+ Script: <"
+ if (getgmlevel() < 99) {
+ logmes "Banning invalid use of Admin Cap", LOGMES_ATCOMMAND;
+ announce "Security violation at item.db.2988, Administrator help immediately required.", bc_all;
+ atcommand "@ban 1m "+strcharinfo(0);
+ delitem 2988, 1;
+ }
+ ">
Sprite: 0
},
{