Plugin category: Fun Minecraft version: 1.8.8 Suggested name: Souls What I want: I want a plugin that adds "souls" to the game. Players get a configurable amount of souls per kill, and they can only get one soul per configurable amount of time. They can then buy stuff with their souls using /souls shop. The config will look like this Code: #Ammount of soul per kill Soul: 1 #Time(in minutes) in between each souls being obtained SoulTime: 15 #Soul Shop Items SoulsShop: ItemOne: Name: '&4Example' Cost: '5' Command: 'money give {name} 100' Souls shop overview. Name, the name of the item when you hover it in the GUI Cost: Souls required to purchase(the amount listed are removed on purchase) Command: command executed on purchase Ideas for commands: /souls (see how many souls you have) /souls shop(opens shop gui) /souls add {player} {ammount} (gives a player a soul) /souls remove {player} {ammount} (removes souls from a player. Ideas for permissions: souls.admin(allows for giving and removing souls.) When I'd like it by: Sooner than later
Alright i finished it, this is how it works, you define the amount of souls per kill and the time in minutes in the config.yml, the souls.yml stores the souls a player has, and the items.yml contains all items in the /souls shop the items.yml has to follow this Code: test: Type: IRON_INGOT Name: '&4Test Item' Cost: 10 Command: 'give %player% diamond 64' after you kill and get a soul you will be notified when you can collect another soul when the time runs out If you have any issues with it or features you want added please let me know https://www.dropbox.com/s/wizlkqftjhjkykq/Souls.jar?dl=0
@Blackwing_Forged can you add a few things? I would like the plugin to tell you how long you must wait before getting another soul, and I would like the messages to be configurable. souls: "&aYou have &b%ammount%&a Souls" cantafford: "&aYou have &b%ammount%&a souls, you need &b%needed%&a souls" purchased: "&aYou bough a %item%" wait: "&c&lZombie&4&lMC &8&l> &7You need to wait &l&n%time%&7 more minutes before reciving another soul!" Also in the item adding config, I would like to add slot, being the slot in the inventory them item will appear in
So just add *Slot: *into the item config, remember that 0 is slot 1, 1 is slot 2 etc. all the others are in the config.yml https://www.dropbox.com/s/oudi6ly6ajvibb3/Souls.jar?dl=0
Thanks! @Blackwing_Forged when I run the /souls shop command it get an error Code: [19:17:29 INFO]: Gosintary issued server command: /souls shop [19:17:29 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'soul s' in plugin Souls v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[cra ftbukkit.jar:git-Bukkit-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:14 0) ~[craftbukkit.jar:git-Bukkit-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServe r.java:620) ~[craftbukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerCon nection.java:1106) [craftbukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java :966) [craftbukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:37) [craft bukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:9) [craftb ukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:1 3) [craftbukkit.jar:git-Bukkit-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [ ?:1.8.0_71] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_71] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukki t.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:6 73) [craftbukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:3 35) [craftbukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:6 29) [craftbukkit.jar:git-Bukkit-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java :537) [craftbukkit.jar:git-Bukkit-18fbb24] at java.lang.Thread.run(Unknown Source) [?:1.8.0_71] Caused by: java.lang.NullPointerException at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:68) ~[craftbukki t.jar:git-Bukkit-18fbb24] at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:46) ~[craftbukki t.jar:git-Bukkit-18fbb24] at net.ascendmc.cmds.SoulCommands.onCommand(SoulCommands.java:61) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[cra ftbukkit.jar:git-Bukkit-18fbb24] ... 15 more
test: Type: IRON_INGOT Name: '&4Test Item' Slot: 0 Cost: 10 Command: 'give %player% diamond 64' @Blackwing_Forged @Blackwing_Forged nvm I got It fixed thanks! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@Blackwing_Forged, I was going to configure this plugin, and I noticed that I still am unable to customize messages?
I can't find that any where in the config. I also in messing with have a few more requests. In the souls time display be in minutes instead of seconds? Also, souls seem to be obtained by killing mobs, i just want players to revive souls when they kill a player.
https://www.dropbox.com/s/oudi6ly6ajvibb3/Souls.jar?dl=0 sorry about that it will now display in minutes and you get souls by only killing players now, you didn't really specify that when you first made this request so i just assumed it was all mobs
Well it loads for me so i can't fix something thats not broken, i deleted the file in the plugins, reloaded and it created the file