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.
In reply to Forge_User_97141586:
If the problem still persists on the new update, does reloading the server fix the problem? If not, can you post the console logs, in case there are any errors or debug messages?
In reply to ZombieStryker:
In reply to Forge_User_97141586:
In reply to Forge_User_97141586:
Is there anyway to change the plugin prefix or block type when selecting to add or remove an item in the gui?
In reply to Forge_User_54099546:
There is no auction house. These are false details.
Hello! The plugin works fine, however config.yml empty, what could be the problem?
In reply to courage123123:
In reply to ZombieStryker:
It would be nice to add a delay between interactions. I found this bug-if you quickly click on Villager sometimes you can pick up everything that lies in the auction window. Sometimes it opens the vanilla trade window.
In reply to courage123123:
In reply to ZombieStryker:
In reply to ZombieStryker:
In reply to courage123123:
In reply to ZombieStryker:
This is what I meant when I said about the delay - for example:"Wait 5 seconds before opening the auction window again."
Whenever I log onto my server it says the plugin will not work because of some Vault Deviation thing. Have any fixes?
In reply to c_ambon:
when I try to spawn a npc it says auction created but nothing is there?
In reply to dmitri_yt:
Hey. I just installed your plugin and when i start the server i get an error and when i go look in the files the Config.yml is completly empty the messages.yml looks correct, but in the game i can still spawn a npc and use it with making an auction but why is it that my config file is empty and this error shows up?
[10:47:38 ERROR]: [NPCAuctions] Citizens 2.0 not found or not enabled
[10:47:38 WARN]: java.io.IOException: No such file or directory
[10:47:38 WARN]: at java.io.UnixFileSystem.createFileExclusively(Native Method)
[10:47:38 WARN]: at java.io.File.createNewFile(File.java:1012)
[10:47:38 WARN]: at me.zombie_striker.npcauctions.ConfigHandler.init(ConfigHandler.java:28)
[10:47:38 WARN]: at me.zombie_striker.npcauctions.Main.onEnable(Main.java:157)
[10:47:38 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[10:47:38 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[10:47:38 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[10:47:38 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
[10:47:38 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
[10:47:38 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[10:47:38 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[10:47:38 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[10:47:38 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[10:47:38 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[10:47:38 WARN]: at java.lang.Thread.run(Thread.java:748)