Added command 'profanity'

This commit is contained in:
Uleat
2019-02-04 07:02:27 -05:00
parent 36b0a60451
commit 93a0ad2ceb
14 changed files with 434 additions and 1 deletions
+1
View File
@@ -389,6 +389,7 @@
9133|2018_11_25_StuckBehavior.sql|SHOW COLUMNS FROM `npc_types` LIKE 'stuck_behavior'|empty|
9134|2019_01_04_update_global_base_scaling.sql|SELECT * FROM db_version WHERE version >= 9134|empty|
9135|2019_01_10_multi_version_spawns.sql|SHOW COLUMNS FROM `spawn2` LIKE 'version'|contains|unsigned|
9136|2019_02_14_profanity_command.sql|SHOW TABLES LIKE 'profanity_list'|empty|
# Upgrade conditions:
# This won't be needed after this system is implemented, but it is used database that are not
@@ -0,0 +1,10 @@
DROP TABLE IF EXISTS `profanity_list`;
CREATE TABLE `profanity_list` (
`word` VARCHAR(16) NOT NULL
)
COLLATE='latin1_swedish_ci'
ENGINE=InnoDB
;
REPLACE INTO `command_settings` VALUES ('profanity', 150, 'prof');