Plugin category: FUN Suggested name: Spectacles What I want: A plugin where new players could make a tour on the server and see all the spectacles on the server, when they enter the area where one of the spectacles is , a message pops up: 'You just found: ...' and the player gets a reward. There could be multiple spectacles and for each one different rewards , when the player finds all of them, he/she gets a special reward. They could use a command to see which spectacles they've already seen and which are still left to see. After making the spectacle , it would be saved in a file and in that file the owner could add the reward IDs (f.e.: 1 diamond block and 16 grass blocks ) Ideas for commands: /tour - Shows which spectacles has the player already seen and which are left /spectacle wand - Gives an item to the OP. With that item the OP could make the area where the spectacle is /spectacle create [name] - The marked area , that has been marked with /spectacle wand , could be named , and this name would be shown in (/tour) /spectacle remove [name] - Deletes one of the spectacles Ideas for permissions: spectacle.create - Creates a spectacle spectacle.find - Searching for spectacles When I'd like it by: As soon as possible Thanks in the future
For /spectacle remove, do you want to remove everything about that spectacle so that if a player used /tour, they would no longer see the deleted spectacle on their list?
And7rey I uploaded it as a project on BukkitDev, and is currently waiting approval. Here is a download link: [Removed link because of update to plugin] Was not quite sure what you wanted from spectacles.find so I left that out for now. Also just realized that I used "spectacles" instead of "spectacle" for everything commands and permissions-wise. Oops. Tahg me if there is something I forgot or a bug pops up.
Asien Wow I didn't think you're really make it! Thanks a lot! When I get the wand and mark the area and enter /spectacles create <name> , I get 'Internal error occurred while attempting to perform this command'. Please note that I would like that I can set a different reward for each spectacle. Thanks PS: With spectacle.find I meant that the player receives a reward for finding a spectacle and receives a message like: 'You just found: <spectacle name> You found: - - - You still have to find: - - - Here's the full error: [16:32:40] [Server thread/INFO]: And7rey issued server command: /spectacles create asdsdgfdgh [16:32:40] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'spectacles' in plugin Spectacles v0.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] Caused by: java.lang.NullPointerException at com.gmail.asienpanda.Spectacles.SpectaclesCommandExecutor.onCommand(SpectaclesCommandExecutor.java:56) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] ... 13 more EDIT by Moderator: merged posts, please use the edit button instead of double posting.
And7rey [Removed link because of update to plugin] And for custom rewards, in the config file under the region's name, manually enter "Prize:" and the item id's and amount you wish to give. ex. Code: Wand ID: 280 Default Prize: - 264 1 - 2 16 Regions: Test: Prize: - 99 2 - 264 5 World: world x1: 643 y1: 124 z1: -263 x2: 641 y2: 124 z2: -260 z2: -260
Asien thanks a lot , this is the last thing I would like to be changed - The 'This is <name>' message when a player enters a spectacle area should be removed. - Another command should be added like: '/tour' When the player enters this command, a message pops up: On the tour you can see <number> spectacles! You've already seen: <number>. <number> are still left to discover You still need to find: <name> <name2> <name3> You've already found: <name> <name2> <name3> - And the last one is that when a player finds a spectacle , it should also announce what the player has got as reward like: Your reward is: dirt(64), dirt(64), dirt(64) Thanks a lot
And7rey Please use http://pastebin.com for logs Asien Why not use dropbox / mediafire links while working on this request? Would stop the dev.bukkit staff of needing to approving test files
Asien yes decompiling always gives errors , just want to change message color nothing else On my server every message has the same color... Asien that's the last thing I need , thanks EDIT by Moderator: merged posts, please use the edit button instead of double posting.