|
@@ -1,308 +0,0 @@
|
|
|
-perm.clear();
|
|
|
-
|
|
|
-event.load("custom_command");
|
|
|
-command.add("perm");
|
|
|
-marvuuid = player.getUuid("marvinius");
|
|
|
-
|
|
|
-//Default-Rechte
|
|
|
-perm.registerGroup(0, "setbed");
|
|
|
-perm.registerGroup(0, "home");
|
|
|
-perm.registerGroup(0, "kill");
|
|
|
-perm.registerGroup(0, "list");
|
|
|
-perm.registerGroup(0, "pvp");
|
|
|
-perm.registerGroup(0, "lag");
|
|
|
-perm.registerGroup(0, "coords");
|
|
|
-perm.registerGroup(0, "msg");
|
|
|
-perm.registerGroup(0, "answer");
|
|
|
-perm.registerGroup(0, "position");
|
|
|
-perm.registerGroup(0, "seen");
|
|
|
-perm.registerGroup(0, "teleportaccept");
|
|
|
-perm.registerGroup(0, "block");
|
|
|
-perm.registerGroup(0, "afk");
|
|
|
-perm.registerGroup(0, "temperature");
|
|
|
-perm.registerGroup(0, "recipe");
|
|
|
-perm.registerGroup(0, "activeskills");
|
|
|
-perm.registerGroup(0, "skills");
|
|
|
-perm.registerGroup(0, "giveup");
|
|
|
-perm.registerGroup(0, "help");
|
|
|
-perm.registerGroup(0, "spawn"); //deaktiviert, da vespilan welt testwelt für colony: (tools, für default-user nur in welt "vespilan" verwendbar)
|
|
|
-
|
|
|
-//WE-Gruppe: 1 //nicht bearbeiten
|
|
|
-
|
|
|
-//Admin-Rechte
|
|
|
-perm.registerGroup(2, "isAdmin");
|
|
|
-perm.registerGroup(2, "isTeam");
|
|
|
-perm.registerGroup(2, "test");
|
|
|
-perm.registerGroup(2, "adduser");
|
|
|
-perm.registerGroup(2, "blockclear");
|
|
|
-
|
|
|
-//Mods-Rechte
|
|
|
-perm.registerGroup(3, "isMod");
|
|
|
-perm.registerGroup(3, "isTeam");
|
|
|
-perm.registerGroup(3, "effect");
|
|
|
-perm.registerGroup(3, "iteminfo");
|
|
|
-perm.registerGroup(3, "spawn");
|
|
|
-perm.registerGroup(3, "human");
|
|
|
-perm.registerGroup(3, "gamerule");
|
|
|
-perm.registerGroup(3, "weather");
|
|
|
-perm.registerGroup(3, "setspawn");
|
|
|
-perm.registerGroup(3, "heal");
|
|
|
-//perm.registerGroup(3, "tempban");
|
|
|
-perm.registerGroup(3, "teleport");
|
|
|
-perm.registerGroup(3, "spawner");
|
|
|
-perm.registerGroup(3, "summon");
|
|
|
-perm.registerGroup(3, "butcher");
|
|
|
-perm.registerGroup(3, "skull");
|
|
|
-perm.registerGroup(3, "silent");
|
|
|
-perm.registerGroup(3, "sign");
|
|
|
-perm.registerGroup(3, "setwarp");
|
|
|
-perm.registerGroup(3, "delwarp");
|
|
|
-perm.registerGroup(3, "fly");
|
|
|
-perm.registerGroup(3, "fly.other");
|
|
|
-perm.registerGroup(3, "gamemode");
|
|
|
-perm.registerGroup(3, "gamemode.other");
|
|
|
-perm.registerGroup(3, "god");
|
|
|
-perm.registerGroup(3, "more");
|
|
|
-perm.registerGroup(3, "more.other");
|
|
|
-perm.registerGroup(3, "jumpto");
|
|
|
-perm.registerGroup(3, "delhome");
|
|
|
-perm.registerGroup(3, "kill.other");
|
|
|
-perm.registerGroup(3, "hat");
|
|
|
-perm.registerGroup(3, "repair");
|
|
|
-perm.registerGroup(3, "pvp.other");
|
|
|
-perm.registerGroup(3, "lightupdate");
|
|
|
-perm.registerGroup(3, "invsee");
|
|
|
-perm.registerGroup(3, "sethome");
|
|
|
-perm.registerGroup(3, "kick");
|
|
|
-perm.registerGroup(3, "enderchest");
|
|
|
-perm.registerGroup(3, "exp");
|
|
|
-perm.registerGroup(3, "say");
|
|
|
-perm.registerGroup(3, "ban");
|
|
|
-perm.registerGroup(3, "pardon");
|
|
|
-perm.registerGroup(3, "back");
|
|
|
-perm.registerGroup(3, "bed");
|
|
|
-perm.registerGroup(3, "bed.other");
|
|
|
-perm.registerGroup(3, "potion");
|
|
|
-perm.registerGroup(3, "feed");
|
|
|
-perm.registerGroup(3, "memory");
|
|
|
-perm.registerGroup(3, "time");
|
|
|
-perm.registerGroup(3, "top");
|
|
|
-perm.registerGroup(3, "tp");
|
|
|
-perm.registerGroup(3, "tppos");
|
|
|
-perm.registerGroup(3, "user");
|
|
|
-perm.registerGroup(3, "warp");
|
|
|
-perm.registerGroup(3, "book");
|
|
|
-perm.registerGroup(3, "grow");
|
|
|
-perm.registerGroup(3, "enchant");
|
|
|
-perm.registerGroup(3, "speed");
|
|
|
-perm.registerGroup(3, "color");
|
|
|
-perm.registerGroup(3, "usecolor");
|
|
|
-perm.registerGroup(3, "nickname");
|
|
|
-perm.registerGroup(3, "fakerank");
|
|
|
-perm.registerGroup(3, "world");
|
|
|
-perm.registerGroup(3, "block.bypass");
|
|
|
-perm.registerGroup(3, "block.all");
|
|
|
-perm.registerGroup(3, "block.other");
|
|
|
-perm.registerGroup(3, "afk.other");
|
|
|
-perm.registerGroup(3, "datatools");
|
|
|
-perm.registerGroup(3, "villager");
|
|
|
-perm.registerGroup(3, "wand");
|
|
|
-perm.registerGroup(3, "heal_stats");
|
|
|
-perm.registerGroup(3, "job");
|
|
|
-perm.registerGroup(3, "plot.create");
|
|
|
-perm.registerGroup(3, "plot.tag");
|
|
|
-perm.registerGroup(3, "plot.share");
|
|
|
-perm.registerGroup(3, "plot.sign");
|
|
|
-perm.registerGroup(3, "plot.bypass");
|
|
|
-perm.registerGroup(3, "plot.mark");
|
|
|
-perm.registerGroup(3, "plot.info");
|
|
|
-perm.registerGroup(3, "plot");
|
|
|
-perm.registerGroup(3, "magicscroll");
|
|
|
-perm.registerGroup(3, "script");
|
|
|
-perm.registerGroup(3, "give");
|
|
|
-perm.registerGroup(3, "script.error");
|
|
|
-perm.registerGroup(3, "stop");
|
|
|
-perm.registerGroup(3, "remove");
|
|
|
-perm.registerGroup(3, "clear");
|
|
|
-perm.registerGroup(3, "lastseen");
|
|
|
-perm.registerGroup(3, "locate");
|
|
|
-
|
|
|
-//Builder-Rechte
|
|
|
-perm.registerGroup(4, "isBuilder");
|
|
|
-perm.registerGroup(4, "isTeam");
|
|
|
-perm.registerGroup(4, "summon");
|
|
|
-perm.registerGroup(4, "fly");
|
|
|
-perm.registerGroup(4, "gamemode");
|
|
|
-perm.registerGroup(4, "skull");
|
|
|
-perm.registerGroup(4, "sign");
|
|
|
-perm.registerGroup(4, "color");
|
|
|
-perm.registerGroup(4, "usecolor");
|
|
|
-perm.registerGroup(4, "villager");
|
|
|
-perm.registerGroup(4, "grow");
|
|
|
-perm.registerGroup(4, "magicscroll");
|
|
|
-perm.registerGroup(4, "datatools");
|
|
|
-perm.registerGroup(4, "speed");
|
|
|
-
|
|
|
-//VIP-Rechte
|
|
|
-perm.registerGroup(5, "isVIP");
|
|
|
-perm.registerGroup(5, "fly");
|
|
|
-perm.registerGroup(5, "hat");
|
|
|
-perm.registerGroup(5, "lastseen");
|
|
|
-perm.registerGroup(5, "color");
|
|
|
-perm.registerGroup(5, "usecolor");
|
|
|
-perm.registerGroup(5, "plot");
|
|
|
-perm.registerGroup(5, "plot.info");
|
|
|
-perm.registerGroup(5, "locate");
|
|
|
-
|
|
|
-//DEV-Rechte
|
|
|
-perm.registerGroup(6, "isDev");
|
|
|
-perm.registerGroup(6, "isTeam");
|
|
|
-perm.registerGroup(6, "script");
|
|
|
-perm.registerGroup(6, "script.error");
|
|
|
-perm.registerGroup(6, "iteminfo");
|
|
|
-
|
|
|
-//Teleport-Rechte
|
|
|
-perm.registerGroup(7, "canTP");
|
|
|
-perm.registerGroup(7, "back");
|
|
|
-perm.registerGroup(7, "teleport");
|
|
|
-perm.registerGroup(7, "tppos");
|
|
|
-perm.registerGroup(7, "spawn");
|
|
|
-perm.registerGroup(7, "warp");
|
|
|
-perm.registerGroup(7, "setwarp");
|
|
|
-perm.registerGroup(7, "delwarp");
|
|
|
-perm.registerGroup(7, "top");
|
|
|
-perm.registerGroup(7, "jumpto");
|
|
|
-
|
|
|
-//SnuviMaster
|
|
|
-perm.registerGroup(8, "isSnuviMaster");
|
|
|
-
|
|
|
-//PseudoMod
|
|
|
-perm.registerGroup(9, "isPseudoMod"); //Mod ohne reale Permissions
|
|
|
-
|
|
|
-//Ticket-Supporter
|
|
|
-perm.registerGroup(10, "isSupporter");
|
|
|
-
|
|
|
-perm.registerPlayer("51e240f9-ab10-4ea6-8a5d-779319f51257", 1); //kajetan
|
|
|
-perm.registerPlayer("51e240f9-ab10-4ea6-8a5d-779319f51257", 2); //kajetan
|
|
|
-perm.registerPlayer("51e240f9-ab10-4ea6-8a5d-779319f51257", 3); //kajetan
|
|
|
-perm.registerPlayer("51e240f9-ab10-4ea6-8a5d-779319f51257", 4); //kajetan
|
|
|
-perm.registerPlayer("51e240f9-ab10-4ea6-8a5d-779319f51257", 5); //kajetan
|
|
|
-perm.registerPlayer("51e240f9-ab10-4ea6-8a5d-779319f51257", 6); //kajetan
|
|
|
-perm.registerPlayer("51e240f9-ab10-4ea6-8a5d-779319f51257", 7); //kajetan
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 1); //marvinius
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 3); //marvinius
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 4); //marvinius
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 5); //marvinius
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 6); //marvinius
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 7); //marvinius
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 8); //marvinius
|
|
|
-perm.registerPlayer("e41b5335-3c74-46e9-a6c5-dafc6334a477", 10); //marvinius
|
|
|
-perm.registerPlayer("9a3d753d-2283-4c21-98a3-313f52859fc6", 1); //eropster
|
|
|
-perm.registerPlayer("9a3d753d-2283-4c21-98a3-313f52859fc6", 3); //eropster
|
|
|
-perm.registerPlayer("9a3d753d-2283-4c21-98a3-313f52859fc6", 4); //eropster
|
|
|
-perm.registerPlayer("9a3d753d-2283-4c21-98a3-313f52859fc6", 5); //eropster
|
|
|
-perm.registerPlayer("9a3d753d-2283-4c21-98a3-313f52859fc6", 6); //eropster
|
|
|
-perm.registerPlayer("9a3d753d-2283-4c21-98a3-313f52859fc6", 7); //eropster
|
|
|
-perm.registerPlayer("19a6ce0d-60dc-4f35-a79f-c3589e2f78a2", 1); //FinbarTheViking
|
|
|
-perm.registerPlayer("19a6ce0d-60dc-4f35-a79f-c3589e2f78a2", 3); //FinbarTheViking
|
|
|
-perm.registerPlayer("19a6ce0d-60dc-4f35-a79f-c3589e2f78a2", 4); //FinbarTheViking
|
|
|
-perm.registerPlayer("19a6ce0d-60dc-4f35-a79f-c3589e2f78a2", 5); //FinbarTheViking
|
|
|
-perm.registerPlayer("19a6ce0d-60dc-4f35-a79f-c3589e2f78a2", 6); //FinbarTheViking
|
|
|
-perm.registerPlayer("19a6ce0d-60dc-4f35-a79f-c3589e2f78a2", 7); //FinbarTheViking
|
|
|
-perm.registerPlayer("3968d591-25f4-4b27-a854-36cb5902bea1", 4); //ImKillerKatze
|
|
|
-perm.registerPlayer("3968d591-25f4-4b27-a854-36cb5902bea1", 7); //ImKillerKatze
|
|
|
-perm.registerPlayer("e4364be3-016e-4751-9965-324a5acb2c4f", 1); //Paiu
|
|
|
-perm.registerPlayer("e4364be3-016e-4751-9965-324a5acb2c4f", 3); //Paiu
|
|
|
-perm.registerPlayer("e4364be3-016e-4751-9965-324a5acb2c4f", 4); //Paiu
|
|
|
-perm.registerPlayer("e4364be3-016e-4751-9965-324a5acb2c4f", 5); //Paiu
|
|
|
-perm.registerPlayer("e4364be3-016e-4751-9965-324a5acb2c4f", 6); //Paiu
|
|
|
-perm.registerPlayer("e4364be3-016e-4751-9965-324a5acb2c4f", 7); //Paiu
|
|
|
-perm.registerPlayer("2cae5ee1-f5dd-417f-9953-5d96f988a543", 3); //xDrake112
|
|
|
-perm.registerPlayer("2cae5ee1-f5dd-417f-9953-5d96f988a543", 7); //xDrake112
|
|
|
-perm.registerPlayer("ba2a132b-4333-4a93-99d1-d510935617e8", 1); //Spielmqcher
|
|
|
-perm.registerPlayer("ba2a132b-4333-4a93-99d1-d510935617e8", 4); //Spielmqcher
|
|
|
-perm.registerPlayer("ba2a132b-4333-4a93-99d1-d510935617e8", 5); //Spielmqcher
|
|
|
-perm.registerPlayer("ba2a132b-4333-4a93-99d1-d510935617e8", 7); //Spielmqcher
|
|
|
-perm.registerPlayer("6de40675-79a8-4506-a1e4-88193aa5aeb1", 1); //TheCreaThor
|
|
|
-perm.registerPlayer("6de40675-79a8-4506-a1e4-88193aa5aeb1", 4); //TheCreaThor
|
|
|
-perm.registerPlayer("6de40675-79a8-4506-a1e4-88193aa5aeb1", 5); //TheCreaThor
|
|
|
-perm.registerPlayer("6de40675-79a8-4506-a1e4-88193aa5aeb1", 7); //TheCreaThor
|
|
|
-perm.registerPlayer("c1f41b29-05ad-4344-b502-1e2a4bcd1908", 1); //seyfahni
|
|
|
-perm.registerPlayer("c1f41b29-05ad-4344-b502-1e2a4bcd1908", 4); //seyfahni
|
|
|
-perm.registerPlayer("c1f41b29-05ad-4344-b502-1e2a4bcd1908", 5); //seyfahni
|
|
|
-perm.registerPlayer("c1f41b29-05ad-4344-b502-1e2a4bcd1908", 7); //seyfahni
|
|
|
-perm.registerPlayer("1befc644-44ca-4989-935a-7aba81c91192", 1); //PascalIsMyName
|
|
|
-perm.registerPlayer("1befc644-44ca-4989-935a-7aba81c91192", 4); //PascalIsMyName
|
|
|
-perm.registerPlayer("1befc644-44ca-4989-935a-7aba81c91192", 5); //PascalIsMyName
|
|
|
-perm.registerPlayer("1befc644-44ca-4989-935a-7aba81c91192", 7); //PascalIsMyName
|
|
|
-perm.registerPlayer("6cc9f8c7-9dfd-44f4-a3f2-af30054411a8", 1); //SirTerence7
|
|
|
-perm.registerPlayer("6cc9f8c7-9dfd-44f4-a3f2-af30054411a8", 4); //SirTerence7
|
|
|
-perm.registerPlayer("6cc9f8c7-9dfd-44f4-a3f2-af30054411a8", 7); //SirTerence7
|
|
|
-perm.registerPlayer("798af2b9-1888-4d00-aeb6-5ae6813febda", 5); //belehla
|
|
|
-perm.registerPlayer("798af2b9-1888-4d00-aeb6-5ae6813febda", 7); //belehla
|
|
|
-perm.registerPlayer("fb01703e-0b3a-4677-9a7e-9e2cec102271", 5); //Pringles Pewolt
|
|
|
-perm.registerPlayer("86da8434-7277-40b3-9a61-c2b50ce7585e", 1); //KleinerStern
|
|
|
-perm.registerPlayer("86da8434-7277-40b3-9a61-c2b50ce7585e", 4); //KleinerStern
|
|
|
-perm.registerPlayer("86da8434-7277-40b3-9a61-c2b50ce7585e", 7); //KleinerStern
|
|
|
-perm.registerPlayer("fbb5daeb-ec55-4050-9bab-84674e179cae", 1); //PuffiBuildings
|
|
|
-perm.registerPlayer("fbb5daeb-ec55-4050-9bab-84674e179cae", 4); //PuffiBuildings
|
|
|
-perm.registerPlayer("fbb5daeb-ec55-4050-9bab-84674e179cae", 7); //PuffiBuildings
|
|
|
-perm.registerPlayer("f19d5b8a-7256-4646-aca0-34be478f9fb4", 1); //Tynechro
|
|
|
-perm.registerPlayer("f19d5b8a-7256-4646-aca0-34be478f9fb4", 4); //Tynechro
|
|
|
-perm.registerPlayer("f19d5b8a-7256-4646-aca0-34be478f9fb4", 7); //Tynechro
|
|
|
-perm.registerPlayer("0f1b685a-1efd-43f2-bc9c-5e07cf668d59", 7); //MOARSL
|
|
|
-msg("dev", "§bperms §rwurden geladen.");
|
|
|
-@wait
|
|
|
-wait();
|
|
|
-if(event == "custom_command") {
|
|
|
- if(command == "perm") {
|
|
|
- if(perm.has(player, "isMod")) {
|
|
|
- if(list.getSize(args) != 3) {
|
|
|
- player.speak(player, "§6Commands", "§r/perm ...");
|
|
|
- msg(player, "§r - give <name> <builder/tp>");
|
|
|
- goto("wait");
|
|
|
- }
|
|
|
- if(list.getIndex(args, 0) == "give") {
|
|
|
- pname = list.getIndex(args, 1);
|
|
|
- perm = list.getIndex(args, 2);
|
|
|
- uuid = player.getUuid(pname);
|
|
|
- if(uuid == null) {
|
|
|
- player.speak(player, "§6Commands", "§rDieser Spieler existiert nicht");
|
|
|
- goto("wait");
|
|
|
- }
|
|
|
- if(perm == "builder") {
|
|
|
- perm.registerPlayer(uuid, 1);
|
|
|
- perm.registerPlayer(uuid, 4);
|
|
|
- } elseif(perm == "tp") {
|
|
|
- perm.registerPlayer(uuid, 7);
|
|
|
- } else {
|
|
|
- player.speak(player, "§6Commands", "§rDiese Perm steht nicht zur Auswahl. Wähle zwischen 'builder' und 'tp'");
|
|
|
- goto("wait");
|
|
|
- }
|
|
|
- player.speak(player, "§6Commands", "§rDone");
|
|
|
- teamuuid = player.getUuid(player);
|
|
|
- //Sendet eine Mail an marvinius
|
|
|
- sgv("SERVER", "mailid", ggv("SERVER", "mailid") + 1);
|
|
|
- mailid = ggv("SERVER", "mailid");
|
|
|
- gdmap.add("mails", mailid, "from", teamuuid);
|
|
|
- gdmap.add("mails", mailid, "to", marvuuid);
|
|
|
- gdmap.add("mails", mailid, "readed", "false");
|
|
|
- gdmap.add("mails", mailid, "time", time.getMillis());
|
|
|
- gdmap.add("mails", mailid, "message", concat("Perm Request: ", pname, " / ", perm));
|
|
|
- gdmap.add("mailin", marvuuid, mailid, "wusi");
|
|
|
- gdmap.add("mailout", teamuuid, mailid, "wusi");
|
|
|
- p = read.player("marvinius"); //Überprüfung ob marvinius online
|
|
|
- if(p == null) {
|
|
|
- goto("wait"); //Spieler nicht online, keine Pushmeldung veranlasst
|
|
|
- }
|
|
|
- player.speak(p, "§3Mail", "§rDu hast §b1 §rneue Mail");
|
|
|
- goto("wait");
|
|
|
- }
|
|
|
- } else {
|
|
|
- player.speak(player, "§6Commands", "§rDir fehlen die Berechtigungen dazu");
|
|
|
- goto("wait");
|
|
|
- }
|
|
|
- }
|
|
|
- goto("wait");
|
|
|
-}
|
|
|
-goto("wait");
|