bentoboxworld / invswitcher Goto Github PK
View Code? Open in Web Editor NEWWorld inventory switcher. Handles health, exp, advancements, inventory, etc.
License: Eclipse Public License 2.0
World inventory switcher. Handles health, exp, advancements, inventory, etc.
License: Eclipse Public License 2.0
On a server with multiple game modes (BSkyBlock, Boxed, AcidIsland) the Vault economy is shared on the server level.
Something like the Multi World Money plugin (that mr tastybento sir wrote). The configuration for the economy should be the same as the inventories...just add money
to the enabled things.
Other plugins...but nothing as lightweight as this solution.
n/a
Installed InvSwitcher, every player got it's inventory cleared out.
Download and install on a pre-existing world.
Not wipe out the inventory.
A picture of an empty inventory goes here
/bbox version
(Mandatory)It would be more efficient if
[19:52:54 INFO]: Running PURPUR 1.16.5.
[19:52:54 INFO]: BentoBox version: 1.16.2
[19:52:54 INFO]: Database: JSON
[19:52:54 INFO]: Loaded Game Worlds:
[19:52:54 INFO]: bskyblock_world (BSkyBlock): Overworld, Nether, The End
[19:52:54 INFO]: Loaded Addons:
[19:52:54 INFO]: Biomes 1.14.0 (ENABLED)
[19:52:54 INFO]: BSkyBlock 1.14.4 (ENABLED)
[19:52:54 INFO]: Challenges 0.8.4 (ENABLED)
[19:52:54 INFO]: ControlPanel 1.13.0 (ENABLED)
[19:52:54 INFO]: DimensionalTrees 1.6.0 (ENABLED)
[19:52:54 INFO]: Level 2.6.3 (ENABLED)
[19:52:54 INFO]: Limits 1.15.5 (ENABLED)
[19:52:54 INFO]: Warps 1.10.2 (ENABLED)
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Nope all addons don't start with addon-, to be consistent we should change the repoository name to reflect just the name.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Easy change name and drop addon-
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
None
Additional context
Add any other context or screenshots about the feature request here.
None
Players teleport to Skyblock and then return to the world, and items disappear.
i don't know
i don't know
1.24.1
Players teleport to Skyblock and then return to the world, and items disappear.
and money disappear world
Spigot 1.13.2
java 8
database: yaml
1- The plugin "Multiverse Inventories" is not compatible, after several attempts, there is always a part of the inventory that is not shared and also money.
I tried to remove the "addon invswitcher" and everything is sharing well without this addon, but the addon is useful and essential for the challenge and the bentobox, so I put everything back in place and the sharing problem came back .
I have removed the "Multiverse Inventory" plug-in for the moment but without a sharing of inventories and money, it is impossible to create any other map that could be combined with the BSB maps.
Example. a map named at our choice that would serve as the point of arrival before choosing which map we want to go to, BAB or AcidIsland.
BentoBox offers to enable ender chests, however, if you have multiple gamemodes and invSwitcher, ender chests still contain the same inventory.
EnderChest content should be treated the same way as player inventory.
Comes from Discord.
When player switch gamemodes, server get notified with about new advancements, however, it just adds advancements which are in gamemode. So rapidly switching gamemodes just spams the whole server with advancement unlock messages.
Get some advancements in one gamemode, while different ones in another gamemode.
Then switch gamemodes.
The server should not be notified about unlocked advancements if the player switches game modes and it is just restoring advancements for a given game mode.
/bbox version
(Mandatory)Tested on tastybento server.
Description
I log out and when I return my inventory is missing for all three worlds.
Steps to reproduce the behavior:
Expected behavior
to have my armor and items in my inventory where I left them
Screenshots
If applicable, add screenshots to help explain your problem.
Server Information:
[Please complete the following information:]
Database being used (YAML, JSON, MySQL, MongoDB): default yml
OS: [e.g. iOS] debian
Java Version: [e.g. Java 8] java 8
BentoBox version: [e.g. 1.7.2.21] 1.3.1
Addons installed? [Do '/bentobox version' and copy/paste from the console]
https://paste.helpch.at/iquxuqofup.bash
Other plugins? [Do '/plugins' and copy/paste from the console]
Additional context
Add any other context about the problem here.
Teleporting to other worlds wipes inventory XP and advancements. Teleporting back to previous world does not restore inventory XP or advancements.
Pre-requisites: BentoBox, BentoBox/InvSwitcher, Multiverse-Core
world
/mvtp creative
/mvtp world
or /spawn
Alternatively, with BSkyBlock and EssentialsX added to pre-requisites:
world
/is
/back
This obviously makes Skyblock unplayable as your inventory will just be wiped entirely instead of being restored when you switch back to Skyblock.
Inventory / XP / Advancements / etc should be restored successfully
/bbox version
(Mandatory)Running PAPER Invalid.
BentoBox version: 1.16.2
Database: JSON
Loaded Game Worlds:
bskyblock_world (BSkyBlock): Overworld, Nether, The End
Loaded Addons:
Biomes 1.14.0 (ENABLED)
Border 3.1.1 (ENABLED)
BSkyBlock 1.14.4 (ENABLED)
Challenges 0.8.4 (ENABLED)
Chat 1.1.3 (ENABLED)
ControlPanel 1.13.0 (ENABLED)
ExtraMobs 1.11.0.3 (ENABLED)
Greenhouses 1.5.3 (ENABLED)
InvSwitcher 1.10.0 (ENABLED)
IslandFly 1.8.1 (ENABLED)
Level 2.6.3 (ENABLED)
TwerkingForTrees 1.4.1 (ENABLED)
Warps 1.10.2 (ENABLED)
Reproducible in a fresh install of Paper 1.17 -- have not tested Paper 1.16.5 yet.
Description
Could you please remove gitHub template files from this repo, so it uses generic BentoBox template?
On Discord I was approached by a BentoBox user who wanted a very specific feature from invswitcher.
Functionality that allows taking (or bring to) items from one world to all gamemode worlds.
I would suggest implementing:
A config option:
common-inventory-world:
world-name: ""
take-items: true
bring-items: false
This option would allow specifying a single common world that allows taking (or bring, or both) items through it.
For troubleshooting:
This option should not include exp, food, health, advancements, and ender-chests.
This is a graphical image that shows the requested functionality.
because the money comes from someone else world, world + Askyblock
nvSwitcher add money balance
https://prnt.sc/z141P6vavHLU
https://prnt.sc/lvRy_chfw9fw
nvSwitcher add money balance
:)
hello, It would help if you mad a media fire or some sort of site with a .jar file download. I made a server with my friends and i don't know how to get this working.
Description
InventorySwitcher will not work correctly after using /bbox reload
Steps to reproduce the behavior:
Solution to fix:
Expected behavior
Server Information:
[16:12:17 INFO]: Running SPIGOT 1.13.2.
[16:12:17 INFO]: BentoBox version: 1.5.3
[16:12:17 INFO]: Loaded Game Worlds:
[16:12:17 INFO]: commands.bentobox.version.game-world
[16:12:17 INFO]: Loaded Addons:
[16:12:17 INFO]: BentoBox-InvSwitcher 0.0.3-SNAPSHOT
[16:12:17 INFO]: BSkyBlock 1.5.0
[16:12:17 INFO]: DimensionalTrees 1.1 - SerbCraft
[16:12:17 INFO]: SerbCraftAddon 2.0
[16:12:29 INFO]: Plugins (3): Relative_Coordculator, BentoBox, CrateReloaded
Additional context
After this had happened, I immediately went to start my test server and try to replicate this - and yes, it happens after execution of /bbox reload command.
I tagged it as Emergency, as I don't wish for any other server that has players on it to lose their inventory after this.
Is your feature request related to a problem? Please describe.
Yes. YAML is not supported and if used will cause problems.
Describe the solution you'd like
Disable the add-on and post a message in console.
Describe alternatives you've considered
Trying to make it work using YAML, but it's not an option anymore.
Additional context
See other closed bugs.
Hi can u add ender-chest to?
Is your feature request related to a problem? Please describe.
Yes, it is probably is. Did not test, but the addon probably changes your inventory and food stats if you enter a non BBox Gamemode world.
Describe the solution you'd like
I'd like if it was possible to implement a feature that you can create a world starting with bskyblock_[name] and that the InventoryAddon treats it like an extra world of bskyblock (It is being recognised and sorted due to bskyblock prefix). The point was to auto-connect the inventory, xp and food of BSkyBlock worlds with the new-created one as well.
For an example:
Now you would have your inventory shared between:
Tho it doesn't has to be done this way, but I tried to think of an easy solution for this to be supported too. By the way... Of course it doesn't has to be "bskyblock", it can just take the name of the worlds from gamemodes config.yml.
Example of a world name required to exist to so it would be recongised and connectd with the corresponding group of worlds:
`[gamemode_addon_name]_[any-world-name]'
Additional context:
If it can't be done this way, hope some1 will find another way to do it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.