|
@@ -154,7 +154,7 @@ prefix_tips = "§eTips";
|
|
|
prefix_lock = "§eLock";
|
|
|
prefix_commands = "§6Commands";
|
|
|
prefix_friends = "§5Friends";
|
|
|
-prefix_world = "§6World";
|
|
|
+prefix_world = "§bWorld";
|
|
|
prefix_jail = "§5Jail";
|
|
|
prefix_quest = "§dQuest";
|
|
|
prefix_perms = "§6Perms";
|
|
@@ -374,7 +374,7 @@ if(event == "block_place") {
|
|
|
cancel = true;
|
|
|
owner_uuid = lock.getOwner(b_loc);
|
|
|
owner_name = player.getName(owner_uuid);
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest was locked by §e§y", owner_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest was locked by §e", owner_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
}
|
|
@@ -393,7 +393,7 @@ if(event == "block_place") {
|
|
|
cancel = true;
|
|
|
owner_uuid = lock.getOwner(chest_loc2);
|
|
|
owner_name = player.getName(owner_uuid);
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest was locked by §e§y", owner_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest was locked by §e", owner_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
//Sicherung erweitern
|
|
@@ -414,7 +414,7 @@ if(event == "block_break") {
|
|
|
cancel = true;
|
|
|
owner_uuid = lock.getOwner(block_loc);
|
|
|
owner_name = player.getName(owner_uuid);
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest was locked by §e§y", owner_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest was locked by §e", owner_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
//Sicherung entfernen
|
|
@@ -760,10 +760,10 @@ if(!isSurvWorldName(world_name)) {
|
|
|
if(size == 0) {
|
|
|
@lockhelp
|
|
|
msg.prefix(player, prefix_lock, "§r/lock ...");
|
|
|
- msg(player, "§e§y- create §rAdds a security");
|
|
|
- msg(player, "§e§y- delete §rRemoves a security");
|
|
|
- msg(player, "§e§y- share <player> §rShares the security with a player");
|
|
|
- msg(player, "§e§y- kick <player> §rremoves a player from a security");
|
|
|
+ msg(player, "§e- create §rAdds a security");
|
|
|
+ msg(player, "§e- delete §rRemoves a security");
|
|
|
+ msg(player, "§e- share <player> §rShares the security with a player");
|
|
|
+ msg(player, "§e- kick <player> §rremoves a player from a security");
|
|
|
goto("wait");
|
|
|
}
|
|
|
arg0 = text.toLowerCase(list.getIndex(args, 0));
|
|
@@ -779,7 +779,7 @@ if(arg0 == "create") {
|
|
|
if(lock.isLocked(target_loc)) {
|
|
|
owner_uuid = lock.getOwner(target_loc);
|
|
|
owner_name = player.getName(owner_uuid);
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest was locked by §e§y", owner_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest was locked by §e", owner_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
//Kiste sichern
|
|
@@ -809,7 +809,7 @@ if(arg0 == "delete") {
|
|
|
owner_uuid = lock.getOwner(target_loc);
|
|
|
if(owner_uuid != uuid) {
|
|
|
owner_name = player.getName(owner_uuid);
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest was locked by §e§y", owner_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest was locked by §e", owner_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
//Kiste entsichern
|
|
@@ -849,20 +849,20 @@ if(arg0 == "share") {
|
|
|
owner_uuid = lock.getOwner(target_loc);
|
|
|
if(owner_uuid != uuid) {
|
|
|
owner_name = player.getName(owner_uuid);
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest was locked by §e§y", owner_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest was locked by §e", owner_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
//Kistensicherung erweitern
|
|
|
success = lock.share(target_loc, p_uuid);
|
|
|
if(!success) {
|
|
|
- msg.prefix(player, prefix_lock, concat("§e§y", p_name, "§r already has access."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("§e", p_name, "§r already has access."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
chest_loc2 = block.getSecChest(target_loc);
|
|
|
if(chest_loc2 != null) {
|
|
|
lock.share(chest_loc2, p_uuid);
|
|
|
}
|
|
|
- msg.prefix(player, prefix_lock, concat("§e§y", p_name, "§r has been granted access."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("§e", p_name, "§r has been granted access."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
if(arg0 == "kick") {
|
|
@@ -893,7 +893,7 @@ if(arg0 == "kick") {
|
|
|
owner_uuid = lock.getOwner(target_loc);
|
|
|
if(owner_uuid != uuid) {
|
|
|
owner_name = player.getName(owner_uuid);
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest was locked by §e§y", owner_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest was locked by §e", owner_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
//Owner kann sich nicht selbst entfernen
|
|
@@ -904,14 +904,14 @@ if(arg0 == "kick") {
|
|
|
//Kistensicherung erweitern
|
|
|
success = lock.kick(target_loc, p_uuid);
|
|
|
if(!success) {
|
|
|
- msg.prefix(player, prefix_lock, concat("This chest isn't secured §e§y", p_name, "§r."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("This chest isn't secured §e", p_name, "§r."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
chest_loc2 = block.getSecChest(target_loc);
|
|
|
if(chest_loc2 != null) {
|
|
|
lock.kick(chest_loc2, p_uuid);
|
|
|
}
|
|
|
- msg.prefix(player, prefix_lock, concat("§e§y", p_name, "§r removed from chest security."));
|
|
|
+ msg.prefix(player, prefix_lock, concat("§e", p_name, "§r removed from chest security."));
|
|
|
goto("wait");
|
|
|
}
|
|
|
goto("lockhelp");
|
|
@@ -1554,7 +1554,7 @@ if(arg0 == "remove") {
|
|
|
player_id = player.getId(player);
|
|
|
if(player_id != 2) {
|
|
|
if(p_id == 2) {
|
|
|
- msg(player, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(player, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
}
|
|
@@ -1586,7 +1586,7 @@ if(arg0 == "removeall") {
|
|
|
player_id = player.getId(player);
|
|
|
if(player_id != 2) {
|
|
|
if(p_id == 2) {
|
|
|
- msg(player, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(player, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
}
|
|
@@ -2402,9 +2402,9 @@ if(size == 0) {
|
|
|
hours = math.roundDown(minutes / 60);
|
|
|
mod_minutes = minutes % 60;
|
|
|
if(mod_minutes < 10) {
|
|
|
- time_string = concat("§6§v", text.number(hours), ":0", text.number(mod_minutes), " h");
|
|
|
+ time_string = concat("§6", text.number(hours), ":0", text.number(mod_minutes), " h");
|
|
|
} else {
|
|
|
- time_string = concat("§6§v", text.number(hours), ":", text.number(mod_minutes), " h");
|
|
|
+ time_string = concat("§6", text.number(hours), ":", text.number(mod_minutes), " h");
|
|
|
}
|
|
|
pre_minutes = list.getIndex(temp_list, i - 1);
|
|
|
if(minutes >= pre_minutes) {
|
|
@@ -2487,9 +2487,9 @@ if(size == 0) {
|
|
|
hours = math.roundDown(minutes / 60);
|
|
|
minutes = minutes % 60;
|
|
|
if(minutes < 10) {
|
|
|
- time_string = concat("§6§v", text.number(hours), ":0", text.number(minutes), " h");
|
|
|
+ time_string = concat("§6", text.number(hours), ":0", text.number(minutes), " h");
|
|
|
} else {
|
|
|
- time_string = concat("§6§v", text.number(hours), ":", text.number(minutes), " h");
|
|
|
+ time_string = concat("§6", text.number(hours), ":", text.number(minutes), " h");
|
|
|
}
|
|
|
msg(player, table.get(table, concat("§6", text.number(i)), time_string, text.number(players)));
|
|
|
if(i == now_day && month == now_month && year == now_year) {
|
|
@@ -2576,14 +2576,14 @@ goto("wait");
|
|
|
if(size == 0) {
|
|
|
@datatoolshelp
|
|
|
msg.prefix(player, prefix_datatools, "/datatools ...");
|
|
|
- msg(player, "§6§v - hide <name> §rHides wusi on an itemstack");
|
|
|
- msg(player, "§6§v - attribute <attribut> <slot> <double> <op> §rFügt ein Attribut zu einem ItemStack hinzu");
|
|
|
- msg(player, "§6§v - hide-entity §rMacht ein Entity unsichtbar");
|
|
|
- msg(player, "§6§v - show-entity §rMacht ein Entity sichtbar");
|
|
|
- msg(player, "§6§v - name-entity <name> §rSetzt den Namen des Entities");
|
|
|
- msg(player, "§6§v - name-visibility <boolean> §rZeigt den Namen (nicht) dauerhaft");
|
|
|
- msg(player, "§6§v - name-item <name> §rSetzt den Itemnamen");
|
|
|
- msg(player, "§6§v - lore-item <line> <lore> §rSetzt die Itemlore");
|
|
|
+ msg(player, "§6 - hide <name> §rHides wusi on an itemstack");
|
|
|
+ msg(player, "§6 - attribute <attribut> <slot> <double> <op> §rFügt ein Attribut zu einem ItemStack hinzu");
|
|
|
+ msg(player, "§6 - hide-entity §rMacht ein Entity unsichtbar");
|
|
|
+ msg(player, "§6 - show-entity §rMacht ein Entity sichtbar");
|
|
|
+ msg(player, "§6 - name-entity <name> §rSetzt den Namen des Entities");
|
|
|
+ msg(player, "§6 - name-visibility <boolean> §rZeigt den Namen (nicht) dauerhaft");
|
|
|
+ msg(player, "§6 - name-item <name> §rSetzt den Itemnamen");
|
|
|
+ msg(player, "§6 - lore-item <line> <lore> §rSetzt die Itemlore");
|
|
|
goto("wait");
|
|
|
}
|
|
|
arg0 = text.toLowerCase(list.getIndex(args, 0));
|
|
@@ -2777,15 +2777,15 @@ goto("datatoolshelp");
|
|
|
if(size == 0) {
|
|
|
@humanhelp
|
|
|
msg.prefix(player, prefix_human, "/human ...");
|
|
|
- msg(player, concat("§6§v - spawn §rSpawnt einen Human"));
|
|
|
- msg(player, concat("§6§v - set <name> §rSetzt den Skin"));
|
|
|
- msg(player, concat("§6§v - setuuid <uuid> §rSetzt den Skin"));
|
|
|
- msg(player, concat("§6§v - name §rSetzt den Namen"));
|
|
|
- msg(player, concat("§6§v - kill §rTötet einen Human"));
|
|
|
- msg(player, concat("§6§v - size <scale> §rSetzt die Größenskalierung"));
|
|
|
- msg(player, concat("§6§v - steve §rSchaltet auf Steve Skin"));
|
|
|
- msg(player, concat("§6§v - alex §rSchaltet auf Alex Skin"));
|
|
|
- msg(player, concat("§6§v - statue <bool> §rToggles between statue"));
|
|
|
+ msg(player, concat("§6 - spawn §rSpawnt einen Human"));
|
|
|
+ msg(player, concat("§6 - set <name> §rSetzt den Skin"));
|
|
|
+ msg(player, concat("§6 - setuuid <uuid> §rSetzt den Skin"));
|
|
|
+ msg(player, concat("§6 - name §rSetzt den Namen"));
|
|
|
+ msg(player, concat("§6 - kill §rTötet einen Human"));
|
|
|
+ msg(player, concat("§6 - size <scale> §rSetzt die Größenskalierung"));
|
|
|
+ msg(player, concat("§6 - steve §rSchaltet auf Steve Skin"));
|
|
|
+ msg(player, concat("§6 - alex §rSchaltet auf Alex Skin"));
|
|
|
+ msg(player, concat("§6 - statue <bool> §rToggles between statue"));
|
|
|
goto("wait");
|
|
|
}
|
|
|
arg0 = text.toLowerCase(list.getIndex(args, 0));
|
|
@@ -3107,7 +3107,7 @@ if(!isOnline(p_name)) {
|
|
|
p = read.player(p_name);
|
|
|
p_name = player.getName(p);
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(sender, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(sender, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
msg("online", concat("§c", p_name, " was muted by ", sender_name, "."));
|
|
@@ -3127,7 +3127,7 @@ if(!isOnline(p_name)) {
|
|
|
p = read.player(p_name);
|
|
|
p_name = player.getName(p);
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(sender, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(sender, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
msg("online", concat("§c", p_name, " was unmuted by ", sender_name, "."));
|
|
@@ -3147,7 +3147,7 @@ if(!isOnline(p_name)) {
|
|
|
p = read.player(p_name);
|
|
|
p_name = player.getName(p);
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(sender, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(sender, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
if(size > 1) {
|
|
@@ -3173,7 +3173,7 @@ if(!isOnline(p_name)) {
|
|
|
p = read.player(p_name);
|
|
|
p_name = player.getName(p);
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(sender, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(sender, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
if(size > 1) {
|
|
@@ -3199,7 +3199,7 @@ if(!isOnline(p_name)) {
|
|
|
p = read.player(p_name);
|
|
|
p_name = player.getName(p);
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(player, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(player, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
head.add(p, 0, sender_name, 160, 50, 20);
|
|
@@ -3231,7 +3231,7 @@ if(!checkIfEverOnline(p_name)) {
|
|
|
}
|
|
|
p_name = player.getName(player.getUuid(p_name));
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(sender, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(sender, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
if(size > 1) {
|
|
@@ -3262,7 +3262,7 @@ if(!checkIfEverOnline(p_name)) {
|
|
|
}
|
|
|
p_name = player.getName(player.getUuid(p_name));
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(sender, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(sender, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
if(size > 1) {
|
|
@@ -3306,7 +3306,7 @@ if(!checkIfEverOnline(p_name)) {
|
|
|
}
|
|
|
p_name = player.getName(player.getUuid(p_name));
|
|
|
if(p_name == "marvinius") {
|
|
|
- msg(sender, "§cSorry §s¯\\_(ツ)_/¯");
|
|
|
+ msg(sender, "§cSorry §b¯\\_(ツ)_/¯");
|
|
|
goto("wait");
|
|
|
}
|
|
|
days = list.getIndex(args, 1);
|
|
@@ -4867,7 +4867,7 @@ while(databank.next(result)) {
|
|
|
minute = correctTimeFormat(minute);
|
|
|
dateformat = concat(day, ".", month, ".", year);
|
|
|
clockformat = concat(hour, ":", minute);
|
|
|
- msg.prefix(player, prefix_commands, concat(seen_name, " war zuletzt am §v", dateformat, "§r um §v", clockformat, " Uhr §ronline."));
|
|
|
+ msg.prefix(player, prefix_commands, concat(seen_name, " war zuletzt am §e", dateformat, "§r um §e", clockformat, " Uhr §ronline."));
|
|
|
varset = true;
|
|
|
}
|
|
|
databank.close(result);
|
|
@@ -4903,7 +4903,7 @@ result = databank.execute(lastseenStatement);
|
|
|
while(databank.next(result)) {
|
|
|
id = databank.getInt(result, 1);
|
|
|
time = databank.getLong(result, 2);
|
|
|
- msg(sender, table.get(table, concat("§a", player.getNameFromId(id)), concat("§e§v", getTimeString(time))));
|
|
|
+ msg(sender, table.get(table, concat("§a", player.getNameFromId(id)), concat("§e", getTimeString(time))));
|
|
|
}
|
|
|
msg(sender, table.getEnd(table));
|
|
|
databank.close(result);
|
|
@@ -5949,13 +5949,13 @@ goto("wait");
|
|
|
if(size == 0) {
|
|
|
@world_syntax
|
|
|
msg.prefix(player, prefix_world, "/world ...");
|
|
|
- msg(player, "§6§t - info <world> §rShows info about a world");
|
|
|
- msg(player, "§6§t - tp <world> [player] §rTeleports a player to a world");
|
|
|
- msg(player, "§6§t - list §rShows all loaded worlds");
|
|
|
- msg(player, "§6§t - load <world> §rLoads a world");
|
|
|
- msg(player, "§6§t - unload <world> §rUnloads a world (removes it from memory)");
|
|
|
- msg(player, "§6§t - setspawn §rSets the world's spawn");
|
|
|
- msg(player, "§6§t - diffi <world> <diffi> §rSets the world's difficulty");
|
|
|
+ msg(player, "§b - info <world> §rShows info about a world");
|
|
|
+ msg(player, "§b - tp <world> [player] §rTeleports a player to a world");
|
|
|
+ msg(player, "§b - list §rShows all loaded worlds");
|
|
|
+ msg(player, "§b - load <world> §rLoads a world");
|
|
|
+ msg(player, "§b - unload <world> §rUnloads a world (removes it from memory)");
|
|
|
+ msg(player, "§b - setspawn §rSets the world's spawn");
|
|
|
+ msg(player, "§b - diffi <world> <diffi> §rSets the world's difficulty");
|
|
|
goto("wait");
|
|
|
}
|
|
|
arg0 = text.toLowerCase(list.getIndex(args, 0));
|