Is it possible to make a menu for players to sell items?
Absolutely possible. Check the wiki https://github.com/ustc-zzzz/VirtualChest/wiki/3-Slots-And-Requirements#the-cost-prefix
Thank you very much.
The latest version does not work check for the balance of the player.
There are no errors in the console.
Tested on ->
Minecraft Forge: 18.104.22.1685
example.conf has a slot (Slot13) which contains a wheat item for selling and buying wheats. Does it work normally?
No. When I click on it nothing happens.
- Add more performance related information to timings
- Reduce the possibility of occurrence of problems related to
IgnoredPermissionsin 1.10.2 servers
- Add additional requirement checks when clicking items for safety reasons
- Add support for multiple
TriggerItems in one menu (format:
TriggerItem = [item1, item2, etc.])
- Add support for detecting NBTs in
TriggerItems, the detection logic is same as what
- Added support for bstats, which will collect some data from your server (all the collected data are available on the bstats website)
- Fix a bug occurred when somebody puts spongeapi7 into mods folder of an api5 server (why would someone try to do this?)
- Bump the version number to v1.0.0 (v1.x.x still supports the configuration files based on v0.4.x), and v0.3.x will no longer be supported
could you add some examples of the new features to the example.cfg or add them to wiki?
I’m not 100% sure, how to use it.
And also, do you know, how could I add check for empty slot in inventory via Requirements?
Thank you a lot
Actually until now I still can not understand the VirtualChest configuration file … Why do not you make it simpler like bukkit plugin: chestcommands or bossshop?
- Add two options named
- Prefetch the profile when a player joins the server to reduce the pause time for the main thread caused by several specific behaviors
- Fix a bug that menus will be closed unexpectedly after they are opened by other menus
- Fix a bug caused by code execution not in the main thread (#52)
- Fix a bug that items held by mouse cursor cannot be identified normally
- Change the regular expression (from
/[%]([^%\s]+)[%]/i) for identifying placeholders in
- Adjust example configuration files for adding new features since
- Fix a bug which causes the plugin to crash on Minecraft 1.11.2 servers
- Fix the incompatibility with spongeforge servers since version 3099
- Add a feature for recording actions into a database, which can be configured in
- Fix a bug that
Requirementsfields sometimes do not work
can you add glow effect to items in virtualchest menus?
It was possible before by enchanting the item but I think it’s bugged starting 4.4 up until 4.8 or something
dont think it works on items that cant be legitly enchanted. atleast its not doing it in regular sponge either and showing the glow.
Pixelmon Placeholder appears to return the place itself with it cannot detect a pokemon
For example, if there’s no Pokemon in slot 3,
%trainer_team_3% will return %trainer_team_3% instead of a Pokemon name.
I’m trying to make a requirement so an item won’t show up if there’s no pokemon in slot 3.
Currently I have
Requirements = “%trainer_team_3% != ‘%%trainer_team_3%%’”
But it’s not working. Nothing shows up, even when I have a Pokemon in slot 3. Is this a bug?
Also, how do I do something like
Requirements = "DisplayName.includes(’%’) "