NPCAuctions
What is NPCAuctions
NPCAuctions was created as an alternative to all the other auction plugins currently out there. What makes this plugin different than the rest is that there are no commands to auction items, and that players must use an NPC to open a GUI that contains all the auctions.
Features
- Supports NPCs if the server uses Citizens.
- Uses Villagers if Citizens is not installed.
- Should support any server higher than 1.8.
Commands
/npca spawnNPC: Spawns an NPC
/npca removeallnpcs: Removes all NPCS from the world
/npca usevillagers: Toggles whether CitizensNPCs or villagers are used.
/npca removenpc : Allows the user to remove villagers
/npca respawn: In case villagers despawn, use this to readd them
/npca open: Opens the auction house.
/npca endAllAuctions: Ends all auctions.
/npca cancelAuction: Ends all of a user's auctions.
/npca reload: Reload config values (does not affect auctions).
Permissions:
- "npcauctions.auctionlimit.#"
- --Replace the # with the max amount of auctions a player can have.
- "npcauctions.*"
- Gives the player permission to all commands.
- npcauctions.create
- Gives the player permission to create new npcs
- npcauctions.destroy
- Gives the player permission to remove npcs.
- npcauctions.bypasslimit
- Gives the player permission to add as many auctions as possible.
This plugin does update automatically:
This plugin checks for updates and will download updates. If you do not want this plugin to automatically update, all you need to do is edit one line in the "plugins\AUpdater\global.yml" file. Just change the one variable in there to false (or, if you run into any problems, copy the code below)
# Updater by ArsenArsen
# Global config
# Sets should updates be downloaded globaly
update: false
How to Install
- Drop this plugin into you plugins folder
- Find/Create a plugin that will allow you get to your world
- Restart your server
This plugin uses bStats:
bStats is a metrics service that allows me to to see how many servers use my plugins, how many players they have, and which countries use my plugin the most. All information is anonymized, so no information can be directly linked to you, and instead is added to the average of all severs that use the plugin.
Hello, whenever i translate messages.yml, upload it to ftp and restart server, reload plugin and so on, it automaticly comes back default. I need it to save...
I am having problems using this plugin.. /NPCA spawnNPC gives an error. "An internal error occurred while attempting to perform this command."
It appears that this plugin has loaded correctly.. but the commands used gives a "disabled" return. Though the server is loading he plugin correctly.. is there a command to enable?
Server log at bottom.
Server version 1.13.2
host: Apexhosting
Edit: tested all commands same error..
In reply to daismade:
In reply to ZombieStryker:
In reply to daismade:
Hello there!
This plugin does not work for me. I try to type /SpawnAuction but it just says that no command exists in chat. There is no error message in console. However exceptions are continuously generated with seemly no cause and they all relate to npca. Please help!
Edit: It also keeps saying an automatic update happened.
In reply to Botonian:
In reply to ZombieStryker:
[23:06:31 WARN]: [NPCAuctions] Task #286 for NPCAuctions v1.0.57 generated an exception
java.lang.NoClassDefFoundError: net/citizensnpcs/api/CitizensAPI
at me.zombie_striker.npcauctions.NPCAuctionCommand$1.run(NPCAuctionCommand.java:41) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit.jar:git-Bukkit-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:349) [craftbukkit.jar:git-Bukkit-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:680) [craftbukkit.jar:git-Bukkit-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit.jar:git-Bukkit-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:629) [craftbukkit.jar:git-Bukkit-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:537) [craftbukkit.jar:git-Bukkit-18fbb24]
at java.base/java.lang.Thread.run(Thread.java:844) [?:?]
Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.CitizensAPI
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-18fbb24]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-18fbb24]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566) ~[?:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) ~[?:?]
... 8 more
That is what happened after I tried spawning in another auction house
In reply to Botonian:
In reply to ZombieStryker:
In reply to Botonian:
I tried to run the command and it doesn't work i checked the console and said the plugin was disabled, Is there a way for me to find out how to enable it or know why it's disabled?
In reply to HeroOneMichael:
In reply to ZombieStryker:
[03:28:52] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Cannot execute command 'npca' in plugin NPCAuctions v1.0.54 - plugin is disabled.
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:36) ~inecraft_server.jar:git-Bukkit-3418f8d]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) ~inecraft_server.jar:git-Bukkit-3418f8d]
at org.bukkit.craftbukkit.v1_13_R1.CraftServer.dispatchCommand(CraftServer.java:674) ~inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.PlayerConnection.handleCommand(PlayerConnection.java:1575) ~inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1435) ~inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(SourceFile:37) ~inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(SourceFile:9) ~inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~inecraft_server.jar:git-Bukkit-3418f8d]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_144]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:827) inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:376) inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:780) inecraft_server.jar:git-Bukkit-3418f8d]
at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:683) inecraft_server.jar:git-Bukkit-3418f8d]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
In reply to HeroOneMichael:
I use the latest version but can not use this command.
/npcauction
All commands related to 'npc' will not run.
With these words coming out
"An internal error occurredwhile attempting to perform this command"
In reply to ???89445:
In reply to ZombieStryker:
[16:36:03 ERROR]: null
org.bukkit.command.CommandException: Cannot execute command 'npcauction' in plugin NPCAuctions v1.0.54 - plugin is disabled.
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:36) ~[craftbukkit.jar:git-Bukkit-162bda9]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) ~[craftbukkit.jar:git-Bukkit-162bda9]
at org.bukkit.craftbukkit.v1_13_R1.CraftServer.dispatchCommand(CraftServer.java:674) ~[craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.PlayerConnection.handleCommand(PlayerConnection.java:1575) ~[craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1435) ~[craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(SourceFile:37) ~[craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.PacketPlayInChat.a(SourceFile:9) ~[craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[craftbukkit.jar:git-Bukkit-162bda9]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_191]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_191]
at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:827) [craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:376) [craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:780) [craftbukkit.jar:git-Bukkit-162bda9]
at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:683) [craftbukkit.jar:git-Bukkit-162bda9]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]
In reply to ???89445:
Hello.
I can open auction villagers, but can't open auction npc.