GithubHelp home page GithubHelp logo

epicbanitemteam / virtualchest Goto Github PK

View Code? Open in Web Editor NEW
35.0 8.0 12.0 410 KB

A sponge plugin providing virtual chest GUIs for menus like ChestCommands

Home Page: https://ore.spongepowered.org/zzzz/VirtualChest

License: GNU Lesser General Public License v3.0

Java 100.00%

virtualchest's Introduction

VirtualChest

A sponge plugin which provides virtual chest GUIs for menus like ChestCommands.
一个用于提供诸如ChestCommands等插件提供了虚拟箱子GUI界面菜单的Sponge插件。

Download link 下载链接

Scope 适用范围

The plugin uses sponge api 5.0.0, and additionly supports api 7.0.0.
该插件使用SpongeAPI 5.0.0,并提供了针对API 7.0.0的额外支持。

Therefore, it is expected to work normally on spongevanilla/spongeforge 1.10.2, 1.11.2, and 1.12.2 servers.
因此该插件理论上应该可以在1.10.2、1.11.2、和1.12.2版本的SpongeVanilla/SpongeForge服务端上正常工作。

If a bug was found, you can open an issue or a pull request.
如果你发现了Bug,你可以提交一个Issue或者PullRequest

Please make sure that you are using the latest build of spongevanilla/spongeforge before reporting a bug to me.
在反馈Bug时,请确保你使用的是最新构建的SpongeVanilla/SpongeForge版本。

Feature & Configurations 功能配置

The plugin itself provides examples for reference.
插件本身提供了示例文件可以参考。

You can find the examples in the config/virtualchest/menu directory which will be generated after you start the sponge server with this plugin for the first time.
你可以在config/virtualchest/menu目录下找到会在第一次启动含有该插件的Sponge服务端启动后生成的示例文件。

There is a wiki written in English for v0.4.0 or higher versions of VirtualChest.
对于v0.4.0及更高版本的VirtualChest,这里有一份使用英语撰写的wiki

Unimplemented features 未实现的特性

  • Command signs, I won't add this feature because the CommandSign plugin could do this
    命令牌子,不过由于CommandSign插件可以代劳,所以本人不准备添加
  • Player operations as OP, I won't add this because of safety
    玩家以OP身份操作,由于安全性不予添加
  • An api for developers, work in progress
    一套开发者API,正在填坑中

Commands & Permissions 命令权限

Please refer to the wiki.
请参见wiki

License 协议授权

This plugin is licensed under LGPL 3.0 license, and you can spread it to almost anywhere applicable to LGPL license without having to manually request for my agreement.
该插件以LGPL 3.0授权,你可以不经过我的手动允许,将其传播到几乎任何地方,只要它不与LGPL协议相抵触。

There are only two places which need to be noticed: mcbbs (a Minecraft forum in China) and the sponge forum. The only reason is that I have already posted the plugin there, and the repost is not welcomed by forums.
不过,有两个地方需要注意:MCBBSSponge官方论坛。唯一的原因在于我已经把本插件在这两个地方发布了,而论坛是不欢迎二次发布的。

virtualchest's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

virtualchest's Issues

Multiple "Requirements" Not working well.

They work if one is given:

Requirements = "player.hasPermission('nucleus.rules.base')"
Or:
Requirements = "%economy_balance% >= 1000"

But for some reason, when you add two, if one requirement is met out of the many, it initiates the PrimaryAction anyways.

For example:

Requirements = "player.hasPermission('nucleus.rules.base'); %economy_balance% >= 1000"
This activates if you have greater than or equal to 1000 balance AND/OR if you have the permission nucleus.rules.base.

I'm wondering if there's a way to initiate PrimaryAction if only BOTH Requirements are met.

Command Aliases Overwrite Nucleus

Using version VirtualChest-0.3.0
I created the alias:

    command-aliases {
        m-e=example
        m-e2=example2
        menu-example=example
        menu-example2=example2
        kits=kits
        menukit=kits
    }

/menukit works fine, but the command /kits does not override the Nucleus /kits command, is it possible to do that?

No Config Files

I've run my server and am using API 5.0, used API 6.0 and even API 7.0, yet nothing is created.

image

Could not pass FMLServerStartedEvent to Plugin

During early server loading I see this:

[17:13:52] [Server thread/INFO] [virtualchest]: Start loading config ...
[17:13:52] [Server thread/INFO] [virtualchest]: Loading config complete.

Then at the I get this.

All of the commands seem to work as expected from the console.

================================================================

/sponge version
[17:29:47] [Server thread/INFO]: SpongeForge
Minecraft: 1.10.2
SpongeAPI: 5.2.0-SNAPSHOT-c675e80
SpongeForge: 1.10.2-2281-5.2.0-BETA-2433
Minecraft Forge: 12.18.3.2316

/vc version
================================================================
[17:27:47] [Server thread/INFO]: VirtualChest v0.3.7
================================================================
[17:27:47] [Server thread/INFO]: Released at 07 Jun 2017
[17:27:47] [Server thread/INFO]: Git commit hash: 09de318
================================================================

PlaceholderAPI Breaks Virtual Chest

SpongeAPI version: spongevanilla-1.10.2-5.2.0-BETA-393

PlaceholderAPI version: PlaceholderAPI v4.1

VirtualChest version: Virtual Chest 0.3.8

Error log [if any]: (https://pastebin.com/vLwsuwi6)

Description: Virtual Chest is using PlaceholderAPI and if you don't use it and open the Menu it doesn't show the name and other placeholders but when I try to open the Menu with PlaceholderAPI it doesn't work. Tried the 1.11.2 and 1.12 versions still doesn't work I remove Nucleus and Nucleus Gluon to see if that breaks the plugins but still doesn't work

Easy GUI stealing

Hello.
I'm able to easily pick an item from the GUI menu doing the following:

Shift + Left Click / Right Click
Then quickly pressing ESC (really fast)
The user gets the exacly item from the GUI.

Using SPONGE FORGE 1.12

Item-Cost not working

In the example file for the wheat item. I tested on 4.3 sponge 1.10.2 latest and it doesnt work. you can buy from it but you cant sell to it.

wheat-item {
Item {
Count = 1
ItemType = "minecraft:wheat"
UnsafeDamage = 0
DisplayName = "&lWheat seller and consumer"
ItemLore = [
"&e9 wheats => $8 "
"&e$10 => 9 wheats"
"&eYou can right click to buy some wheats"
"&eand left click to sell some held by your mouse"
]
}
PrimaryAction {
Command = "cost-item: 9; cost: -8"
HandheldItem {
ItemType = "minecraft:wheat"
Count = 9
UnsafeDamage = 0
}
KeepInventoryOpen = true
}
}

Slot13 = [
${aliases.wheat-item} {
Requirements = "%economy_balance% >= 10"
SecondaryAction = {
Command = "cost: 10; console: give %player_name% minecraft:wheat 9"
KeepInventoryOpen = true
}
}
${aliases.wheat-item}
]

Changes to Enchantment API causing breakages

Hey there! There have been changes to the enchantment API in API 7 that seemed to go under the radar. Unfortunately, this has meant virtual chests now errors on startup upon loading the configuration.

Here is the pull request for the enchantment API changes SpongePowered/SpongeAPI#1687

And here is the fml-server-latest.log https://gist.github.com/merjilin/cde592a71b386f80f407617de1d658e4

The error in question is this: https://gist.github.com/merjilin/e3e8f07f82b270dc250a0eb46f557038

Environment:

  • spongeforge-1.12.2-2555-7.0.0-BETA-2758.jar
  • VirtualChest-0.4.3.jar

Hopefully this won't be much of a hassle :)

Kind regards, merjilin

Version 0.4.0 - problem with new configs

Hello,
Nice to see the new version, but unfortunatelly, I cantt get it work. I tried to delete the whole config folder and its generated a new one. On the server I can’t open any of the default examples. It just says "The specified chest GUI (example) is not found.

Do you know, why is this happening?
Sponge 1.10.2, API 5.2.0. Everything load correctly.

I posted it on Sponge Ore too, but I would like to have quick response, so I tried to wrote it here too 😄

Support latest SpongeForge

Latest SpongeForge breaks GUI, you can simply take the items out.
I asked one of the Sponge devs about it:
image

meaning that this change will be permanent.
Thank you for your hard work on this project! Keep it up ;)

Error on open/close event

Hello,
I updated to version 0.4.5 and I'm not able to open correctly virtualchest's menu. It is always empty (tried example and example2 too).
On Sponge API 5.2.0 is it OK, but on Sponge API 7.1.0 just empty menu.
Here is error on open: https://pastebin.com/KNrHNP2X
Here is error on close: https://pastebin.com/h8JrnvQN

SpongeForge version 1.12.2 7.1.0 Build 2821
VirtualChest version 0.4.5

资词资词~

很不错的插件~
不过还没实装到我的服务器整合包中
关于经济插件,能做出来一个类似商店的东西嘛。如果可以的话,我可以加到空岛生存里面咯~

Data format

Hi!

Could provide an example how to set a GameProfile to a skull? The Keys is REPRESENTED_PLAYER. How are the key and the DataSerializable serialized to the config.
To make these things easier a command to generate those data would be very useful, like it outputs the serialized item data of the item you are holding in your hand.

Inventory Tweaks - Item Dupe

When using this with a mod called inventory tweaks, it is possible to Space-Click all the items out of the chest therefore causing item dupe. Any way to stop this?

HandheldItem Requirement

Using Sponge 1.12.2 2931 / VirtualChest 0.4.8

 HandheldItem {
    ItemType = "minecraft:white_shulker_box"
    Count = 1
    UnsafeDamage = 0
    UnsafeData {
        BlockEntityTag {
            Items=[
                {
                    Count=1
                    Damage=0
                    Slot=0
                    id="minecraft:stone"
                },
                {
                    Count=1
                    Damage=0
                    Slot=3
                    id="minecraft:lapis_ore"
                }
            ]
        }
    }

Will take a empty white_shulker_box and not read the BlockEntityTag as a requirement.

Requirements for inventory slots

Hello,
I have a question about Requirements.

Is there a way how to make requirement for player inventory empty slots?
I need to prevent for buy a think without a few empty slots in their inventory, is this possible?
Like Requirements = %player_name%.inventory.IsEmpty >= 10

I don’t understand this much, just tried to explain it more by this “example”.

Thank you for any help.

Command Variable

First of all, great work on the plugin.
Really enjoying is so far!
I'm trying to execute a command
PrimaryAction = "effect %player% 21"

Could you possible add in a player variable? This way we can add in more commands that require a username to function?

Creating Menu In-Game

I was wondering if it's possible to have a /virtualchest create [menu]

This will open a GUI, and you can put inside it blocks

Cost items

Hello! I have an idea, add cost items.
Example:
PrimaryAction = "cost: minecraft:diamond 10; console: say %player_name% has found the magic power of the compass!"
And player open next menu / commands and other)

API 7.0.0 not working

So I updated from 1.10.2 to 1.12.2 Yay. But when used /vc open the GUI pops up but nothing inside would work... meaning by the items with lores and names were there but could take them out and put it in my inventory and the click then command activates or switch GUI doesn't happen.

Using JSON strings in actions

Is it possible to put JSON strings in click actions. Some minecraft commands that use JSON require you to always put in the quotes around it but this causes an issue when the action is contained within the quotes.
Its not loading the menu at all. Here is the error in console when trying to load it https://pastebin.com/mDRq1k6U

skullowner

EDIT: I couldn't figure it out until the moment i posted it here of course. Double quotes fixes it. Sorry to bother you again xD

Ignored permissions and spam in a console

Hello,
I'm runnig the newest version of VirtualChest (4.1) and I tried to use ignored permissions, but I can't open the GUI. On the version below 4.0 it works.

Not even given example is working. When I give myself all permission, I still can't open the next GUI (where is ignored permission set).
I tried to give myself vchest.open.* and again, can't open GUI with ignored permision set.

I just want to set, that the player can open shop directly, but everything else only through the GUI (on clicked item) and can't open them directly.
Example:
/vchest open shop
and in shop is another items, which will open for example: "ae2" and I won't to let them open it directly through /vchest open ae2 command.
Is it still possible to do this via ignored permissions?

Another problem, which I found (maybe just bad configuration?), is with spam in a console.
When I open a GUI, virtualchest is keep spamming to the console this:

[17:14:56] [Server thread/DEBUG] [virtualchest]: Execute script for player EntityPlayerMP['Krosta8'/383, l='DIM1', x=3.50, y=63.00, z=17.50]
[17:14:56] [Server thread/DEBUG] [virtualchest]: Literal:
[17:14:56] [Server thread/DEBUG] [virtualchest]: Result: true

This one is spamming a lot.
Sometimes it shows up this:

[17:14:56] [Server thread/DEBUG] [virtualchest]: Execute script for player EntityPlayerMP['Krosta8'/383, l='DIM1', x=3.50, y=63.00, z=17.50]
[17:14:56] [Server thread/DEBUG] [virtualchest]: Literal: %economy_balance% >= 7

But it's okay, just one time or two times per open GUI.

The biggest problem is, that sometimes is getting bugged. Nobody is on the server and it spams the same line more than 15x per second (maybe for every tick?). In a hour the log has more than 10GB and the server shut down, because there is not enough space.

Any solution for this?

Thank you a lot.

VirtualChest and Sponge API 7.0.0

Hello,
I know, that your plugin does not currently support Sponge API 7.0.0, but I just want to let you know, that it is "working", just the inventory is empty. You can see it on this picture:
image

Do you think, that you can make a working version for Sponge API 7.0.0 to the end of this month?
I really want to use your plugin on my future server, which will be on Sponge API 7.0.0.

Thank you a lot,
Krosta8

Add sounds

Hello! I had an idea to add sound's in open, close and stream in GUI, example in config:

virtualchest {
    TextTitle = "Sounds in VirtualChest"
    Rows = 1
    Sound = {
            Open = "block.chest.open" // Open GUI sound
            Close = "block.chest.close" // Close GUI sound
            Stream = [
                "record.cat", // In GUI sound
                "music.credits" // and multi-sound's
            ]
            RepeatSoundTick = 32 // Parameter for the possibility of repeating the specified sound, when openly GUI chest
    }
    Slot0 = [{
        Item {
            Count = 1
            ItemType = "minecraft:noteblock"
            UnsafeDamage = 0
            DisplayName = "Sound Item"
            ItemLore = "Click me!"
        }
        PrimaryAction {
            KeepInventoryOpen = false
            ClickSound = "block.note.hat" // Sound Click Primary
        }
        SecondaryAction = {
            KeepInventoryOpen = false
            ClickSound = "block.note.basedrum" // Sound Click Secondary
        }
    }]
}

The specified chest GUI (<inventory>) is not found

I'm not aware of where to ask for support with the plugin but I was led here so I created an account to do so
I've followed the wiki and the example files to structure the menu configuration with the slots and requirements although when I execute /vc o inventory player after executing /vc r in the server console I get prompted with the error The specified chest GUI (inventory) is not found all help is appreciated please and thank you
using spongeforge-1.12.2-2611-7.1.0-BETA-2970 and VirtualChest-1.0.0-alpha
only occurs to edited configurations the default example files open successfully

command cost don't work

Hello,

I try to use cost prefix but when the command is execute I have this error :
https://pastebin.com/AG5GCvYN

SecondaryAction {
Command = "cost:9900; kit shop-applied"
KeepInventoryOpen = false
}
Requirements = "%economy_balance% >= 9900"

And when I specify the currency I have another error :
https://pastebin.com/6JCX4k1p

SecondaryAction {
Command = "cost: aurions:9900; kit shop-applied"
KeepInventoryOpen = false
}
Requirements = "%economy_balance% >= 9900"

VirtualChest-0.4.7.jar
spongeforge-1.12.2-2586-7.1.0-BETA-2881.jar

Cost Requirements broken now..?

Slot10 {
    Item {
        Count = 1
        ItemType = "pixelmon:pixelmon_sprite"
        UnsafeDamage = 0
        DisplayName = "&d&lSlot 1"
        ItemLore = []
    UnsafeData {
        SpriteName = "pixelmon:sprites/eggs/egg1"
    }
    }
    KeepOpen = false
    PrimaryAction {
        Command = "cost: 1000; delay: 15; console: lp user %player_name% permission settemp pixelupgrade.command.checkegg true 10s; delay: 5; eggcheck 1 -c"
        KeepInventoryOpen = true
    }
    SecondaryAction {
        Command = "cost: 1000; delay: 15; console: lp user %player_name% permission settemp pixelupgrade.command.checkegg true 10s; delay: 5; eggcheck 1 -c"
        KeepInventoryOpen = true
    }
    IgnoredPermissions = [
        "pixelupgrade.commands.checkegg"
    ]
    Requirements = "%economy_balance% >= 10"
},

The requirement doesn't detect balance. I can remove it shows up but otherwise it doesnt. with my balance at 100,000+

even things like
Slot0 = [{
Item {
Count = 1
ItemType = "minecraft:wheat"
UnsafeDamage = 0
}
Requirements = "%economy_balance% >= 10"
},
dont show up in the menu; why isn't it detecting the eco balance now? worked in 3.9...

Forking help

Hi!

I am planning to fork this project to integrate it tighter with other private plugins. I would like to change the ItemStacks that are displayed in the inventory. These should be replaced completely in some cases.
So could you point me to the code piece that generates the ItemStack(Snapshot) for the inventory?

RandomByte

Suggestion: create GUIs in-game

Simple as it sounds. You could add a /vc|virtualchest create . That would open a GUI for you, where you can put items where you want. On close, the plugin would save that GUI to disk, and load the next time someone opens the GUI.

Also, if a player is in creative mode, would be nice to be able to edit the GUI. Move the items, remove them, add new, etc.

SkullOwner variable

I've been trying to create an item that will show the users skull using PlaceHolderAPI and it is not working. Am I doing something wrong or is this an issue?

Position-1-1 = {
    Item {
        Count = 1
        ItemType = "minecraft:skull"
        UnsafeDamage = 3
        UnsafeData = {
            SkullOwner = "%player%"
        }
        DisplayName = "&1Serf"
        ItemLore = [
            "&eYou are currently this rank."
        ]
    }

Add a cost to clicking an item

Hello,

I was wondering if you could make it so a player can charged a certain amount of currency to click an icon in configuration, so for example:

currency_type = tokens
amount_to_charge = 10

In the above example, the currency is tokens and the cost of clicking an icon and running the primary/secondary action in the gui is 10 tokens. If they do not have 10 or more tokens, it doesn't run the primary/secondary action, but if they do have 10 or more tokens, it runs successfully.

Would it then be possible to add an API where people can create currency that will work as a virtual chest currency? The reason for this is because we have a custom plugin that creates tokens which can be given to players so that they can purchase items, and we would look to hook it into this api so we can use virtual chests and the custom plugin in conjunction.

Thanks!

Contents of menus empty

Virtualchest version: 0.4.6
Spongeforge version: spongeforge-1.12.2-2555-7.1.0-BETA-2817.jar

The Issue: When opening any menus, the contents are empty.
No error is given in console, the menus are simply empty on the inside.
Here is a copy of one of the configurations for one of my menus (note, even the example and example2 menus are empty): https://pastebin.com/4YTWhG4n

I saw this issue was supposed to be fixed in v0.4.6 but seems not.

Problem with %player_name%

When I test your example with the wheat, console do this command

27.09 21:37:56 [Server] Server thread/INFO [nucleus]: Server ran the command: /give %player_name% minecraft:wheat 9

VirtualChest v0.3.9
Minecraft: 1.10.2
SpongeAPI: 5.2.0-SNAPSHOT-c675e80
SpongeForge: 1.10.2-2281-5.2.0-BETA-2610
Minecraft Forge: 12.18.3.2488

Feature Request: Required Item

It would be nice if there was a "Required Item" feature where it would take the "Required Item" if there was one set.

Virtual Chests Stopped Working Properly - People Can Take Out Items

I used VC to set up my item shops hooked up with the buy command. All of a sudden, this has stopped working, and players can remove the items from the virtual chests. When they go back into them they'll still be there too.

This is gamebreaking, and I have no idea what may be the cause of this.

3.9 to 4.0

Hi,

Would it be possible to create a 3.9 to 4.0/4.1 config conversion tool. I've created a GUI which contains over 1400 files. I am currently tweaking this package and will be releasing it on the 3.9 VC but would like to release the GUI package on 4.1 also. I was hoping to Batch edit my files but I'm not sure if this is possible.

Thank you.
MageFX

Commands wont run and i get this console error

[20:51:33 ERROR] [Sponge]: Could not pass ClickInventoryEvent$Primary$Impl to Plugin{id=virtualchest, name=VirtualChest, version=0.4.0, description=A sponge plugin providing virtual chest GUIs for menus., authors=[ustc_zzzz], source=mods/VirtualChest-0.4.0.jar}
java.lang.UnsupportedOperationException: Not recognized
at com.github.ustc_zzzz.virtualchest.unsafe.SpongeUnimplemented.getSlotOrdinal(SpongeUnimplemented.java:54) ~[SpongeUnimplemented.class:?]
at com.github.ustc_zzzz.virtualchest.inventory.VirtualChestInventory$VirtualChestEventListener.fireClickEvent(VirtualChestInventory.java:213) ~[VirtualChestInventory$VirtualChestEventListener.class:?]
at com.github.ustc_zzzz.virtualchest.inventory.VirtualChestInventory$VirtualChestEventListener.access$700(VirtualChestInventory.java:162) ~[VirtualChestInventory$VirtualChestEventListener.class:?]
at com.github.ustc_zzzz.virtualchest.inventory.VirtualChestInventory.lambda$createInventory$0(VirtualChestInventory.java:92) ~[VirtualChestInventory.class:?]
at org.spongepowered.common.item.inventory.custom.CustomInventoryListener.handle(CustomInventoryListener.java:52) ~[CustomInventoryListener.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.item.inventory.custom.CustomInventoryListener.handle(CustomInventoryListener.java:35) ~[CustomInventoryListener.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:305) ~[SpongeEventManager.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:320) ~[SpongeEventManager.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:143) ~[SpongeImpl.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.event.tracking.phase.packet.PacketFunction.lambda$static$32(PacketFunction.java:688) ~[PacketFunction.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.event.tracking.phase.packet.PacketPhase.unwind(PacketPhase.java:322) [PacketPhase.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:251) [CauseTracker.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.event.tracking.CauseTracker.switchToPhase(CauseTracker.java:161) [CauseTracker.class:1.10.2-5.2.0-BETA-381]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:157) [PacketUtil.class:1.10.2-5.2.0-BETA-381]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zjb000(SourceFile:539) [fl$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fl$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_151]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_151]
at net.minecraft.util.Util.func_181617_a(SourceFile:45) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:235) [SpongeImplHooks.class:1.10.2-5.2.0-BETA-381]
at net.minecraft.server.MinecraftServer.redirect$onRun$zhi000(SourceFile:4156) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:1499) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:338) [ld.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:554) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:458) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

Multi-Currency "cost:" support?

Hello,
I have a question about multi-currency and cost command.

Is there an option how to perform the transaction from first currency or second currency?

Now, it is taking the default currency, but is there an option how to perfrom transaction from second currency?
I know, that I can still use classic command for pay method from the plugin, but I would like to do it directly from the VC, is it possible?

Thank you a lot!

Add animations slots :)

Hello! Plugin GWM-Crates have very fun animations in slots, example:
kzthsqs
I would like you to add this feature to your wonderful plugin :) Many use it to create a menu that would very nicely embellish it)

Gui exploit with money

When a player receives money while in a menu, if he clicks on the menu, he receives all the purchasable items/services at once while paying only one.

Example: if a player receives money while in the "example" menu, if he clicks anywhere in the menu, he can "buy" access to the "example2" menu.

I hope this is understandable otherwise I can make a video.

Sorry for my English.

Requirements JavaScript

Hello!) I try add specific requirements, but not work)
Example:

    Slot0 = [{
        Item {
            Count = 1
            ItemType = "pixelmon:pixelmon_sprite"
            UnsafeData = {
                SpriteName = "pixelmon:sprites/pokemon/%trainer_team_1_nationalid%"
            }
            UnsafeDamage = 0
            DisplayName = "&4Slot &b#1"
            ItemLore = [
                "&eFirst Pokemon"
            ItemEnchantments = [
                "minecraft:infinity"
            ]
            HideEnchantments = true
        }
        PrimaryAction {
            Command = "command 1"
            KeepInventoryOpen = false
        }
        SecondaryAction = {
            Command = "command 1"
            KeepInventoryOpen = false
        }
        Requirements = "%trainer_team_1% =< 'null'"
    }, {
        Item {
            Count = 1
            ItemType = "minecraft:barrier"
            UnsafeDamage = 0
            DisplayName = "&4None Pokemon!"
        }
    }]

I try specify none name (null) in placeholder. Placeholder `%trainer_team_1_nationalid%
How correctly can this be indicated?)

Plugin Loading

I've tried all 4 versions and can't get any of them to load at all. I've checked the server log and there's no mention of VirtualChest even trying to load. Using sponge forge 5.1.0. Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.