Advertisement
Guest User

Untitled

a guest
Mar 19th, 2012
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 5.42 KB | None | 0 0
  1. Index: MangChat.sql
  2. ===================================================================
  3. --- MangChat.sql    (revision 0)
  4. +++ MangChat.sql    (working copy)
  5. @@ -0,0 +1,71 @@
  6. +-- --------------------------------
  7. +-- New MangChat.sql File Created by Shinzon:03-19-2012
  8. +-- --------------------------------
  9. +
  10. +SET FOREIGN_KEY_CHECKS=0;
  11. +DROP TABLE IF EXISTS `irc_commands`;
  12. +CREATE TABLE `irc_commands` (
  13. +  `Command` varchar(10) NOT NULL default '',
  14. +  `Description` varchar(150) NOT NULL default '',
  15. +  `gmlevel` tinyint(3) unsigned NOT NULL default '0',
  16. +  PRIMARY KEY  (`Command`)
  17. +) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='IRC Module System';
  18. +
  19. +INSERT INTO `irc_commands` VALUES
  20. +('acct', '[acct <Player> <(un)lock/mail/pass/rename>] : Perform Action To <Player> Account.', '2'),
  21. +('ban', '[ban <Player/IP> <ip/acct/unban/reason>] : Ban/Unban <Player>', '2'),
  22. +('chan', '[chan <op/deop/voice/devoice> <*IRC Nick*>] : Set Mode On Yourself, If <IRC Nick> Is Specified Then Set mode On Nick.', '2'),
  23. +('char', '[char <Player> <mailcheat/taxicheat/maxskill/setskill>] : Perform Action To Character.', '2'),
  24. +('fun', '[fun <Player> <Sound/Say>] : Do Selected Fun Action To <Player>.', '2'),
  25. +('help', '[help Command] : Use No Paramaters For List Of Available Commands.', '0'),
  26. +('inchan', '[inchan <Channel>] : Display Users In Selected In Game <Channel>', '0'),
  27. +('info', '[info] : Display Server Info. (Number Of Players Online/Max Since Last Restart/Uptime)', '0'),
  28. +('item', '[item <Player> <add> <ItemID/[ItemName]> <Amount>] : Additem To <Player>, Use <ItemID> Or <[Exact Item Name]>.', '2'),
  29. +('jail', '[jail <Player> <release/Reason>] : Jail Selected <Player> For <Reason>. Using release As <Reason> Releases Player.', '2'),
  30. +('kick', '[kick <Player> <Reason>] : Kick <Player> For <Reason>.', '2'),
  31. +('kill', '[kill <Player> <Reason>] : Kill <Player> For <Reason>.', '2'),
  32. +('level', '[level <Player> <NewLevel>] : Level <Player> To <NewLevel>. *Can Be Done Offline*', '2'),
  33. +('lookup', '[lookup <acct/char/creature/faction/go/item/quest/skill/spell/tele> <ID/Name>] : ', '2'),
  34. +('login', '[login <UserName> <Password>] : Login To MangChat Admin Mode.  (Must Be Done In A PM)', '0'),
  35. +('logout', '[logout] : Logout Of MangChat Admin Mode.', '0'),
  36. +('money', '[money <Player> <(-)Money>] : Give Money To <Player>, Use - To Take Money. *Can Be Done Offline*', '2'),
  37. +('mute', '[mute <Player> <release/TimeInMins> <Reason>] : Mute Player For Reason, For <TimeInMins>. Using release As Time Releases Player. *Can Be Done Offline*', '2'),
  38. +('online', '[online] : Display All Users Logged In Game.', '0'),
  39. +('pm', '[pm <Player> <Message>] : Whisper <Player> In WoW <Message>.', '2'),
  40. +('reload', '[reload] : Reload MangChat Config Options And Security Level From DataBase.', '2'),
  41. +('restart', '[restart] : Restart MangChat, NOT MaNGOS World Server Itself. Forces Reconnection To IRC Server.', '2'),
  42. +('revive', '[revive <Player>] : Revive <Player>.', '2'),
  43. +('saveall', '[saveall] : Forces MaNGOS To Save All Players.', '2'),
  44. +('shutdown', '[shutdown <TimeInSeconds>] : Shuts The Server Down In <TimeInSeconds>, Use 0 For Immediate Shut Down', '2'),
  45. +('spell', '[spell <Player> <Cast/Learn/UnLearn> <SpellID>] : Make <Player> <Learn> Or <UnLearn> A Spell, Or <Cast> A Spell On A <Player>.', '2'),
  46. +('tele', '[tele <Player> <l/c/r/to> <Loc.Name/MAPID X Y Z/Recall/Player>] : Teleport Player To Location, Coords, Or Another Player. (l-Location)(c-Coords)', '2'),
  47. +('ticket', '[ticket <list/read/respond/delete> <limit/name/all> <message>] : Manage GM tickets, respond with message', '2'),
  48. +('top', '[top <accttime/chartime/money> <limit>] : Display top stats for given option. Only GM Higher Than Config Option Can Use Limit.', '2'),
  49. +('who', '[who] : Displays Users Currently Logged In To MangChat.', '1'),
  50. +('sysmsg', '[sysmsg <a/n/e> <Message>] : Broadcasts A System Message. (a-Broadcast System Message)(n-Broadcast Notify Message)(e-Event Message)', 3);
  51. +
  52. +SET FOREIGN_KEY_CHECKS=0;
  53. +DROP TABLE IF EXISTS `irc_inchan`;
  54. +CREATE TABLE `irc_inchan` (
  55. +  `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
  56. +  `name` varchar(12) NOT NULL default '',
  57. +  `channel` varchar(15) NOT NULL default '',
  58. +  PRIMARY KEY  (`guid`,`channel`)
  59. +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='IRC Module System';
  60. +
  61. +SET FOREIGN_KEY_CHECKS=0;
  62. +
  63. +DELETE FROM `command` WHERE `name` = 'ircpm';
  64. +INSERT INTO `command` VALUES ('ircpm', '1', 'Syntax:.ircpm #nick #Message\r\n\r\nSend a message to a person in irc');
  65. +
  66. +-- ----------------------------
  67. +-- Table structure for IRC_AutoAnnounce
  68. +-- ----------------------------
  69. +DROP TABLE IF EXISTS `IRC_AutoAnnounce`;
  70. +CREATE TABLE `IRC_AutoAnnounce` (
  71. +  `id` int(11) NOT NULL AUTO_INCREMENT,
  72. +  `message` longtext NOT NULL,
  73. +  `addedby` varchar(12) NOT NULL default '',
  74. +  PRIMARY KEY (`id`)
  75. +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='IRC Module System';
  76. +
  77. +-- ----------------------------
  78. +-- Record addition for IRC_AutoAnnounce
  79. +-- ----------------------------
  80. +INSERT INTO mangos_string (`entry`,`content_default`) VALUES ('3000','|cffff0000[Automatic System Message]: %s|r');
  81. +
  82. +-- ----------------------------
  83. +-- SAMPLE RECORD for AutoAnnouncer
  84. +-- ----------------------------
  85. +INSERT INTO `IRC_AutoAnnounce` (`id`,`message`,`addedby`) VALUES ('1','Welcome to MangChat! Add or change automated messages in this table.','Installer');
  86. +
  87. \ No newline at end of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement