VirtualChest - Provide virtual chest GUIs for menus like ChestCommands (SpongeForge/SpongeVanilla 1.10.2, 1.11.2, and 1.12.2)


#105

Adding cooldowns for something is beyond the scope of the plugin. Maybe you can find another plugin (such as cmdcontrol or something else) for setting command cooldowns.


#106

Not work on latests Sponge build.


#109

Hi, i am using BungeeCord with a setup of 3 servers. If i use the chat in game and type “/server skyblock” i get transfered to my skyblock server but if i use virtualChest with following setup it dosen’t work:
virtualchest {
TextTitle = “&l&4Lobby Menu”
Rows = 2
Slot0 {
Item {
Count = 1
ItemType = “skyresources:cactusfruitneedle”
UnsafeDamage = 0
DisplayName = “&lSkyblock Server”
ItemLore = [
“Leftclick:”
“&eTeleport to %player_name%'s Skyblock Island”
]
}
PrimaryAction {
Command = “server skyblock”
KeepInventoryOpen = true
}
}
TriggerItem {
ItemType = “minecraft:compass”
EnablePrimaryAction = false
}
}

I get the message in the command window from the server
"[Server thread/INFO][nucleus]: DropBearGamer ran the command: /server skyblock
and ingame the chat tells me
“Unknown command. Try /help for a list of commands”
and i dont get transfered.
Any help on this?


#110

@DropBearGamer Well, I consider that maybe /server is a BungeeCord command so the Sponge server could not dispatch the command normally. But you can try to use the connect prefix for connecting to another BungeeCord server.


#111

How can I specify the spawn egg of a particular mob?
And could you make it possible to check the presence of an item in the player’s inventory, if it is present, then it must be deleted during the transaction. For players it is very inconvenient to constantly drag an item into the trading menu.


#112

@zzzz you so made my day, i was banging my head against a wall yesterday for hrs to get this working with no luck at all, I use know Command: “Connect: skyblock” and it works. Thank you so much, have to by you a bear :smiley: .


#113

If you specify this in the config, the player will be able to sell the items even if he does not have them.

PrimaryAction {
  Command = "cost-item: 1; cost: -0.2; tell: &6Вы продали &7[&bСемена пшеницы&7]&6 х1;"
  HandheldItem {
	SearchInventory = true
    ItemType = "minecraft:wheat_seeds"
    Count = 1
    UnsafeDamage = 0
  }
  KeepInventoryOpen = true
}

#114

@Semenkovsky_Ivan Could you please provide a GIF or something to display the issue?


#115

I recorded the video.


#116

@Semenkovsky_Ivan I got the reason. VC has identified the wheat seeds in the menu and wants to deduct the item in it. I am now trying to fix it.


#117

@Semenkovsky_Ivan Fixed in v1.0.0-beta-4


#118

Slot9 {
Item {
ItemType = “pixelmon:pixelmon_sprite”
Count = 1
UnsafeDamage = 0
UnsafeData {
SpriteName = “pixelmon:sprites/pokemon/246”
}
DisplayName = “&6Larvitar”
ItemLore = [
“&bShiny Pokemon Allowance: &41 shiny remaining!”
“&bClick to equip!”
]
}
}
PrimaryAction {
Command = “console: pokegive %player_name% larvitar s lvl5”
KeepInventoryOpen = true
}
TriggerItem {
ItemType = “minecraft:compass”
EnablePrimaryAction = false
EnableSecondaryAction = false
}
}

It does not run any command when I try


#119

Will there be updated documentation for the plugin soon?
I can not open the menu for a specific player through a command in another menu on behalf of the console. Also I can not check the player’s balance.


#120

Two new features named SearchInventory and RepetitionUpperLimit have been added to VirtualChest, and both of them have their corresponding descriptions in the wiki.

Is there any incompatibility issues found after you upgrade VirtualChest to v1.0.0-beta-5?


#121

Yes. Checking the balance of the player does not work correctly. Even if the player has money, then with a probability of about 50%, he can not buy the item, because he failed to check the balance.