Giter Site home page Giter Site logo

poqdavid / virtualtool Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 5.0 1.3 MB

A plugin for minecraft to provide virtual gui for all possible items

Home Page: https://poqdavid.github.io/VirtualTool/

License: MIT License

Java 100.00%
plugin minecraft spongeapi virtualtool virtual backpack anvil workbench enderchest enchantingtable

virtualtool's Introduction

This plugin wont be updated anymore please use https://poqdavid.github.io/NyxBackpack and https://poqdavid.github.io/NyxTools

VirtualTool GitHub stars GitHub issues Build Status

A plugin for minecraft to provide virtual gui for all possible items.

Features

    ☑ Virtual Anvil
    ☑ Virtual EnderChest
    ☑ Virtual EnchantingTable
    ☑ Virtual Workbench
    ☑ Virtual Backpack

Commands

/anvil
/enderchest, /ec
/enchantingtable, /et <power 0-15>
/workbench, /wb
/backpack, /bp  [[<player>]] [<size>] [-m <m>]
/backpacklock, /bplock  <player> [-l <l>] [-u <u>]

Premissions

VirtualTool.command.anvil
VirtualTool.command.help
VirtualTool.command.main
VirtualTool.command.enderchest
VirtualTool.command.enchantingtable
VirtualTool.command.workbench
VirtualTool.command.backpack
VirtualTool.command.backpacklock
VirtualTool.command.backpackadminread
VirtualTool.command.backpackadminmodify
VirtualTool.command.backpacksize.one
VirtualTool.command.backpacksize.two
VirtualTool.command.backpacksize.three
VirtualTool.command.backpacksize.four
VirtualTool.command.backpacksize.five
VirtualTool.command.backpacksize.six
VirtualTool.command.enchantingtablepower.0
VirtualTool.command.enchantingtablepower.1
VirtualTool.command.enchantingtablepower.2
VirtualTool.command.enchantingtablepower.3
VirtualTool.command.enchantingtablepower.4
VirtualTool.command.enchantingtablepower.5
VirtualTool.command.enchantingtablepower.6
VirtualTool.command.enchantingtablepower.7
VirtualTool.command.enchantingtablepower.8
VirtualTool.command.enchantingtablepower.9
VirtualTool.command.enchantingtablepower.10
VirtualTool.command.enchantingtablepower.11
VirtualTool.command.enchantingtablepower.12
VirtualTool.command.enchantingtablepower.13
VirtualTool.command.enchantingtablepower.14
VirtualTool.command.enchantingtablepower.15

Configuration

Config path: (\config\virtualtool\config.json)

{
  "commands": {
    "enable_enderchest": true,
    "enable_anvil": true,
    "enable_workbench": true,
    "enable_enchantingtable": true,
    "enable_backpack": true
  }
}

virtualtool's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

virtualtool's Issues

Putting Items in Backpack, closing, then opening and they're gone

Happens to a few of our players. Basically, if you put any item into the Backpack and close the backpack, it will suddenly disappear. It seems to happen randomly and consistently with several players whereas others do not experience it.

Currently we're running 5.0. We downloaded this on April 6th of this year. I noticed there were several commits since then.

I also noticed on the Sponge website another user had the same issue. I'm wondering if the latest commits fixed this and if the build in the Releases section is up-to-date or if I need to build from Source. Is it also safe to change the versions?

Thanks!

Backpack item whitelist - feature

I'm looking to only allow 1 item to be stored within a backpack.

I have players making really beautiful Chisel builds. You can copy your Chisel builds with Positive Chisel Design that will save the Chisel design on a sheet of paper. I want to allow players to store those sheets within a backpack that will be persistent through map resets so they do not lose their Chisel designs.

I'm requesting a whitelist feature to hopefully achieve this goal.

Thank you.

Secondary development

Hello!
Look, you haven't updated it for a long time.
Can I use the source code of your plug-in for secondary development and release it to other forums?
I will provide the link of the original plug-in and your name on the forum!

Backpack locks itself without reason

If you open your backpack, close it and open it again it is locked - every time.

We're running on:
VirtualTool 5.0
SF 2768 RC 3594

The problem occured after updating Pixelmon from 7.0.1 to 7.0.3 (I don't think it's related to that issue) and updating SF from RC 3575 to RC 3594

Question

Is the /backpack inventory seperate from the chest inventory?

Players Cant Do /Enderchest

So I am trying to give players with Ho-Oh rank+ the permission to use /echest but I have gotten multiple reports of it not working. I am almost sure I put in the permission node correctly so I dont know whats wrong. Here is a pastebin of my permission setup for that rank: https://pastebin.com/3bP8Vid6

Backpack Sizes

Hi,

I am having some issues with the backpack command.
I was wanting to change my backpack size, but it doesn't do anything - just opens my backpack.
"/bp yaeliel 6 -m"
I have all the permissions for the plugin and read through the previous issues and everything about the backpacks - but I can't seem to fix this.

Thanks for the help
Yaeliel

Backpack locked?

Hey my players are getting a backpack locked message when try to use there backpacks. We have switched to 1.12.1 and now receiving errors? Can you fix this please and thank you I hope you can this mod brings a lot of joy to players.

Duplication Glitch

Get a lily pad with a block under it and jump and set a home in the air and go to the home and you character will glitch out and keep opening the pack back and taking things out and it will dupe them.

  • Report from player apparently old faction trick.

SpongeUpdate broke Backpack Files

We have recently updated from Sponge2477 2731 to Sponge2477 2793. And at this moment, our Backpack files are being emptied whenever you access the backpack.

There is no error in the logs. It just, empties the file and leaves us with {} in it.

Permission to modify backpack

So, even with VirtualTool.command.backpackadminread and VirtualTool.command.backpackadminmodify set to true, my admins can't modify others backpacks, only view them. I have * permission and I can't also do that. We're using SpongeAPI: 7.1.0-SNAPSHOT-06016f2 and Spongeforge 1.12.2-2611-7.1.0-BETA-2990

Workbench

No player can use the workbench command. It comes up with an error in logs.

Im running the latest sponge api 5 and nucleus, if you need a full list of plugins i can provide that.

[17:39:53] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'workbench' for source EntityPlayerMP['Witch_Doctor'/405962, l='shops', x=-360.43, y=114.00, z=-208.60]: tried to access method net.minecraft.entity.player.EntityPlayerMP.func_71117_bO()V from class io.github.poqdavid.virtualtool.Utils.Invs
java.lang.IllegalAccessError: tried to access method net.minecraft.entity.player.EntityPlayerMP.func_71117_bO()V from class io.github.poqdavid.virtualtool.Utils.Invs
at io.github.poqdavid.virtualtool.Utils.Invs.Open(Invs.java:90) ~[Invs.class:?]
at io.github.poqdavid.virtualtool.Commands.WorkbenchCMD.execute(WorkbenchCMD.java:68) ~[WorkbenchCMD.class:?]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:359) ~[CommandSpec.class:1.10.2-5.2.0-BETA-385]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:336) ~[SimpleDispatcher.class:1.10.2-5.2.0-BETA-385]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:291) ~[SpongeCommandManager.class:1.10.2-5.2.0-BETA-385]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) ~[bd.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(SourceFile:825) ~[me.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(SourceFile:812) ~[me.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) ~[im.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) ~[im.class:?]
at org.spongepowered.common.network.PacketUtil.lambda$onProcessPacket$0(PacketUtil.java:157) ~[PacketUtil.class:1.10.2-5.2.0-BETA-385]
at org.spongepowered.common.event.tracking.CauseTracker.switchToPhase(CauseTracker.java:160) [CauseTracker.class:1.10.2-5.2.0-BETA-385]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:156) [PacketUtil.class:1.10.2-5.2.0-BETA-385]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zjc000(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_72-internal]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72-internal]
at net.minecraft.util.Util.func_181617_a(SourceFile:45) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:239) [SpongeImplHooks.class:1.10.2-5.2.0-BETA-385]
at net.minecraft.server.MinecraftServer.redirect$onRun$zhj000(SourceFile:4153) [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:745) [?:1.8.0_72-internal]

Suggestion: Add offline player query

It is recommended to add a backpack that can view offline players.

Otherwise the player has not been online, and no one can view his backpack.

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.