Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit 19da696

Browse files
committed
v2.0
1 parent b1bca35 commit 19da696

File tree

10 files changed

+20
-32
lines changed

10 files changed

+20
-32
lines changed

bin/changelog.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ v2.0-Pre3:
2222
- Added '/mw version' command
2323
- Added '/mw unload ...' command
2424
- Added '/mw list' command
25-
- Added '/mw info ...' command
25+
- Added '/mw info ...' command
26+
27+
v2.0:
28+
- Changed some chat messages
29+
- Removed '/testentity ...' command
-534 Bytes
Binary file not shown.
45 Bytes
Binary file not shown.
Binary file not shown.

bin/plugin.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: MultiWorld
22
main: pl.moresteck.multiworld.MultiWorld
3-
version: 2.0-Pre3
3+
version: 2.0
44
description: Provides multi-world support for Bukkit.
55
author: Moresteck
66
website: https://betacraft.ovh/
@@ -10,7 +10,4 @@ softdepend: [BukkitVersion, Permissions]
1010
commands:
1111
mw:
1212
usage: /mw
13-
description: MultiWorld main command
14-
testentity:
15-
usage: /<command>
16-
description: Shows current entities in world (testing purpose)
13+
description: MultiWorld main command

src/changelog.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ v2.0-Pre3:
2222
- Added '/mw version' command
2323
- Added '/mw unload ...' command
2424
- Added '/mw list' command
25-
- Added '/mw info ...' command
25+
- Added '/mw info ...' command
26+
27+
v2.0:
28+
- Changed some chat messages
29+
- Removed '/testentity ...' command

src/pl/moresteck/multiworld/MultiWorld.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -130,21 +130,6 @@ public boolean onCommand(CommandSender cs, Command cmd, String alias, String[] a
130130
} else if (args.length == 0) {
131131
new MHelp(cmd, cs, args).execute();
132132
}
133-
if (cmd.getName().equalsIgnoreCase("testentity")) {
134-
World w = server.getWorld("world");
135-
if (args.length == 0) {
136-
for (Entity e: w.getEntities()) {
137-
cs.sendMessage(getName(e));
138-
}
139-
return true;
140-
}
141-
if (args[0].equalsIgnoreCase("xd")) {
142-
for (Entity e: w.getEntities()) {
143-
e.remove();
144-
}
145-
return true;
146-
}
147-
}
148133
return true;
149134
}
150135

src/pl/moresteck/multiworld/commands/MInfo.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ public void displayInfo(MWorld world, String page) {
6161
this.send(ChatColor.GRAY + "Gen arguments: " + (BukkitVersion.getVersionId() >= 9 ? ChatColor.GOLD + world.getGenerator() : ChatColor.RED + "unavailable"));
6262
this.send(" For more info type: " + ChatColor.YELLOW + "/mw info " + world.getName() + " 2");
6363
} else if (page.startsWith("2")) {
64-
this.send("PVP: " + getColor(world.getPvP()));
65-
this.send("Monster spawning: " + getColor(world.getAllowMonsters()));
66-
this.send("Animal spawning: " + getColor(world.getAllowAnimals()));
64+
this.send(ChatColor.GRAY + "PVP: " + getColor(world.getPvP()));
65+
this.send(ChatColor.GRAY + "Monster spawning: " + getColor(world.getAllowMonsters()));
66+
this.send(ChatColor.GRAY + "Animal spawning: " + getColor(world.getAllowAnimals()));
6767
if (BukkitVersion.getVersionId() >= 4) {
6868
String is = (world.getWeather() ? ChatColor.GREEN + "on, " : ChatColor.RED + "off, ");
6969
String now = (world.getWorld().isThundering() ? ChatColor.BLUE + "now stormy" : ChatColor.YELLOW + "now sunny");
70-
this.send("Weather: " + is + now);
70+
this.send(ChatColor.GRAY + "Weather: " + is + now);
7171
} else {
72-
this.send("Weather: " + ChatColor.RED + "unavailable");
72+
this.send(ChatColor.GRAY + "Weather: " + ChatColor.RED + "unavailable");
7373
}
7474
}
7575
}

src/pl/moresteck/multiworld/commands/MSetSpawn.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public void execute() {
4646
world.spawnZ = now.getBlockZ();
4747
MultiWorld.saveWorld(p.getWorld());
4848
}
49+
this.send("New spawn location set!");
4950
}
5051

5152
public void displayCommandHelp() {

src/plugin.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: MultiWorld
22
main: pl.moresteck.multiworld.MultiWorld
3-
version: 2.0-Pre3
3+
version: 2.0
44
description: Provides multi-world support for Bukkit.
55
author: Moresteck
66
website: https://betacraft.ovh/
@@ -10,7 +10,4 @@ softdepend: [BukkitVersion, Permissions]
1010
commands:
1111
mw:
1212
usage: /mw
13-
description: MultiWorld main command
14-
testentity:
15-
usage: /<command>
16-
description: Shows current entities in world (testing purpose)
13+
description: MultiWorld main command

0 commit comments

Comments
 (0)