diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-08 00:05:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-08 00:05:44 -0300 |
commit | 3a3416c1c54565dd979651ca31e17c2eb49322b2 (patch) | |
tree | 739f2e0588ea02284599ba808b7253d49f9da7a8 /db | |
parent | e37f9c615bfbe9a999447832fe7975d95719ee9f (diff) | |
download | serverdata-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.conf | 10 |
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 }, { |