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.
How to sell a item on Npc caution?
Hi!
Great plugin, however the permission npcauctions.auctionlimit.# doesn't seem to be working for me. I've got it all set up and players can bid and create biddings but they can exceed the limit that # is set to.
Hey there was an error when attempting to spawn a NPC, "There was a internal error occurred while attempting to perform this task", I don't know how to fix this, any ideas?
[06:28:55 ERROR]: Could not pass event InventoryClickEvent to NPCAuctions v1.0.63
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craft.jar:git-Bukkit-e8c6403]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craft.jar:git-Bukkit-e8c6403]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:36) ~[craft.jar:git-Bukkit-e8c6403]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craft.jar:git-Bukkit-e8c6403]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1537) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craft.jar:git-Bukkit-e8c6403]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_241]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_241]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:676) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:632) [craft.jar:git-Bukkit-e8c6403]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:540) [craft.jar:git-Bukkit-e8c6403]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Caused by: java.lang.IllegalArgumentException: Title cannot be longer than 32 characters
at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[craft.jar:git-Bukkit-e8c6403]
at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:59) ~[craft.jar:git-Bukkit-e8c6403]
at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:32) ~[craft.jar:git-Bukkit-e8c6403]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.createInventory(CraftServer.java:1478) ~[craft.jar:git-Bukkit-e8c6403]
at org.bukkit.Bukkit.createInventory(Bukkit.java:945) ~[craft.jar:git-Bukkit-e8c6403]
at me.zombie_striker.npcauctions.Main.onClick(Main.java:827) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_241]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[craft.jar:git-Bukkit-e8c6403]
... 16 more
Can you please help me? I am using 1.8.3
Hey!
I got a server 1.8.9. The problem is when I create a NPC with citizen with the command /npca spawnNPC the npc work well for cancel auction but when I clic on Create New Auction noting apen. Please help. (I redownlod 3 time the plugin).
ps: sory for all of the error I'm french.
In reply to bobidubido:
Are there any errors in the console when that happens?
In reply to Zombie_Striker_bukkit:
No nothing...
this is my first time to install a plugin, so I choose your auction plugin. :). I am using 1.15.2 ver and using aternos to open the server, but I don't understand why I cannot use
the server log :> [16:14:54] [Server thread/INFO]: [NPCAuctions]Shutting down due to missing Vault dependency (OR YOU ARE MISSING A PLUGIN THAT ADDS THE ECONOMY, NOT VAULT)
can someone teach me how to solve this problem, thanks
In reply to raymondwong5628:
Do you have both Vault and another economy plugin installed on your server? If not, you need them so people can bid on items.
Hello,
is this plugin working fine on 1.15 version?
If not, should we expect an update soon?
Is there anyway to change the currency that the Auction House uses? Or is this not supported yet
In reply to Mermicus:
This plugin supports all economy plugins that support vault. If you have another economy plugin, check to see if it has vault support.
When trying to spawn a Npc I get this error message:
this plugins broken why is it that nothing gets added to the auction when i try and half the time the nps does not spawn when i use the commands
Does this plugin support Gringotts?
which one is for 1.3.2
In reply to somiannix:
Do you mean 1.13.2, or actually 1.3.2? For 1.13, the newest one should still support 1.13, As for 1.3.2, I highly doubt you will find any plugin that supports an update that old.
I have installed the plugin and it lets me use all commands except for removalnpcs, however when I do execute the spawnnpc command no villager appears.
Plugin working
Npc appear as expected
Creating, bidding... also working
This plugin provides a great alternative to other auction plugins with need to actually visit place and interact with NPC and also many plugins provide only with insta buy option with no bidding
please update this plugin to 1.14
Server thread/ERROR Citizens 2.0 not found or not enabled
Server thread/ERROR - Disabled due to no Vault or no economy being found!
29.04 12:29:47 [Server] Server thread/INFO Disabling NPCAuctions v1.0.60
29.04 12:29:47 [Server] Server thread/INFO [NPCAuctions]Shutting down due to missng Vault dependancy (OR YOU ARE MISSING A PLUGIN THAT ADDS THE ECONOMY, NOT VAULT)
29.04 12:29:48 [Server] Craft Scheduler Thread - 0/WARN Plugin NPCAuctions v1.0.60 generated an exception while executing task 4
29.04 12:29:48 [Server] INFO org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
29.04 12:29:48 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.validate(CraftScheduler.java:447) ~[custom.jar:git-Spigot-4d24e36-5193f76]
29.04 12:29:48 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:176) ~[custom.jar:git-Spigot-4d24e36-5193f76]
29.04 12:29:48 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:167) ~[custom.jar:git-Spigot-4d24e36-5193f76]
29.04 12:29:48 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.runTaskLater(CraftScheduler.java:131) ~[custom.jar:git-Spigot-4d24e36-5193f76]
29.04 12:29:48 [Server] INFO at org.bukkit.scheduler.BukkitRunnable.runTaskLater(BukkitRunnable.java:79) ~[custom.jar:git-Spigot-4d24e36-5193f76]
29.04 12:29:48 [Server] INFO at me.zombie_striker.npcauctions.GithubDependDownloader$1.run(GithubDependDownloader.java:86) ~[?:?]
29.04 12:29:48 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[custom.jar:git-Spigot-4d24e36-5193f76]
29.04 12:29:48 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [custom.jar:git-Spigot-4d24e36-5193f76]
29.04 12:29:48 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_201]
29.04 12:29:48 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_201]
29.04 12:29:48 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]