Coder Social home page Coder Social logo

bukkit-instantreset's People

Contributors

cybertiger avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

bukkit-instantreset's Issues

Bukkit cowardly refused to unload the world: world

Hi this is the plugin I need! I tried it but Im getting this error message:
Bukkit cowardly refused to unload the world: world

Console error:
01.04 16:35:35 [Server] INFO Skipping active world save dir: /plugins/InstantReset/worlds/world.2482467518033154950.world
01.04 16:35:35 [Server] WARN Failed to fully delete unused world save: /plugins/InstantReset/worlds/world

I really need help asap! Thanks

API ERROR

Hi, I am having this error in the console while using your api.
Error: http://pastebin.com/rxLSVEQd

My code:
Code (Text):
InstantReset irPlugin = (InstantReset) getServer().getPluginManager().getPlugin("InstantReset");
if (irPlugin!= null && irPlugin.isEnabled()) {
InstantResetWorld world = irPlugin.getInstantResetWorld("SkyWars");
if (world != null) {
irPlugin.resetWorld(world);
}

IR Thermos 1.7.10 Error

When i type world reset DIM1 i get next error:
[14:22:43] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'ir' in plugin InstantReset v1.12-antony at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:1.7.10-1614.58] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[SimpleCommandMap.class:1.7.10-1614.58] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:740) ~[CraftServer.class:1.7.10-1614.58] at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1370) [nh.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1107) [nh.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38) [ir.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53) [ir.class:?] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?] at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) [nc.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25] Caused by: java.lang.IllegalArgumentException: Could not get provider type for dimension 12, does not exist at net.minecraftforge.common.DimensionManager.getProviderType(DimensionManager.java:178) ~[DimensionManager.class:1.7.10-1614.58] at net.minecraftforge.common.DimensionManager.createProviderFor(DimensionManager.java:483) ~[DimensionManager.class:1.7.10-1614.58] at net.minecraft.world.WorldProvider.func_76570_a(WorldProvider.java:160) ~[aqo.class:?] at net.minecraft.world.WorldServer.<init>(WorldServer.java:162) ~[mt.class:?] at org.cyberiantiger.minecraft.instantreset.libnbt.unsafe.v1_7_R4.InstanceTools.createInstance(InstanceTools.java:85) ~[?:?] at org.cyberiantiger.minecraft.instantreset.InstantReset.loadWorld(InstantReset.java:160) ~[?:?] at org.cyberiantiger.minecraft.instantreset.InstantReset.resetWorld(InstantReset.java:217) ~[?:?] at org.cyberiantiger.minecraft.instantreset.ResetSubCommand.onCommand(ResetSubCommand.java:43) ~[?:?] at org.cyberiantiger.minecraft.instantreset.InstantReset.onCommand(InstantReset.java:138) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:1.7.10-1614.58] ... 13 more

World is now void

HI,

I reseted my world and now it's full of void, there is nothing in it. I used world borders and the fill command to generate all chunks before saving the world in templates/worldname. Whatever I do (tp in the world or reset it) it's full of void.

Did I just loose a world ? What happened ?

Thanks

Support regeneration (new seed) of worlds

The Instant-Reset is a really life-saver.

But. I'd like to use it to also regenerate some worlds.

Could you add support for accepting null as template? And simply generate a new world in that case?
Or something similar.

That way, I can use ir for both resetting worlds (to a previous state), and for getting completely new ones (i.e. so players don't "know their way around" in the newly reset world).

Block reset/tp

So when a player breaks 1 or two blocks the plugin teleports them to a location that you set and then the world resets.

Generator missing on instantreset

Did the following:

  1. Disabled allow-nether and allow-end in bukkit.yml and server.properties
  2. Unloaded and deleted the worlds
  3. Created new worlds using /mv create ...
  4. Moved the worlds to templates folder
  5. Configured IR - yes, did it the right way - and unloaded them from multiverse.
  6. Tested IR, seemed to work fine
  7. Teleported to a position far far away, created a nether portal, and went to the IR created nether world.
  8. Ended up in a void-nether world (no chunks generated).
  9. Unloaded both InstantReset and the world
  10. Recreated it as per step 3.
  11. Redid step 7. ended up in a wonderfully correctly generated nether world.

In other words - it seems the chunkgenerator fails when "importing" worlds using InstantReset.

It doesn't make sense, that IR only supports fully generated worlds - so perhaps I'm missing something here?

Minecraft 1.10 Error

When i tried to run my server with the 1.10.2 version y get this error:

[InstantReset] Unsupported server version: git-Spigot-570526c-c1b529e (MC: 1.10.2)

I'm using the latest version of spigot server and i cant make ir work.

Possible Version Mismatch?

At Launch:

[17:59:52 INFO]: [InstantReset] Enabling InstantReset v1.10-antony
[17:59:52 ERROR]: Error occurred while enabling InstantReset v1.10-antony (Is it up to date?)
java.lang.NullPointerException
        at org.cyberiantiger.minecraft.instantreset.libnbt.unsafe.v1_8_R3.InstanceTools.createInstance(InstanceTools.java:69) ~[?:?]
        at org.cyberiantiger.minecraft.instantreset.InstantReset.loadWorld(InstantReset.java:160) ~[?:?]
        at org.cyberiantiger.minecraft.instantreset.InstantReset.reloadWorld(InstantReset.java:207) ~[?:?]
        at org.cyberiantiger.minecraft.instantreset.InstantReset.onEnable(InstantReset.java:100) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-76236cb-d4e32ce]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at java.lang.Thread.run(Unknown Source) [?:1.7.0_71]

Running /ir reset the_end

org.bukkit.command.CommandException: Unhandled exception executing command 'ir' in plugin InstantReset v1.10-antony
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-76236cb-d4e32ce]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-76236cb-d4e32ce]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-76236cb-d4e32ce]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-76236cb-d4e32ce]
        at java.lang.Thread.run(Unknown Source) [?:1.7.0_71]
Caused by: java.lang.NullPointerException
        at org.cyberiantiger.minecraft.instantreset.libnbt.unsafe.v1_8_R3.InstanceTools.createInstance(InstanceTools.java:69) ~[?:?]
        at org.cyberiantiger.minecraft.instantreset.InstantReset.loadWorld(InstantReset.java:160) ~[?:?]
        at org.cyberiantiger.minecraft.instantreset.InstantReset.resetWorld(InstantReset.java:217) ~[?:?]
        at org.cyberiantiger.minecraft.instantreset.ResetSubCommand.onCommand(ResetSubCommand.java:43) ~[?:?]
        at org.cyberiantiger.minecraft.instantreset.InstantReset.onCommand(InstantReset.java:138) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-76236cb-d4e32ce]
        ... 8 more

Config:

# Where to look for world templates.
templatedir: templates 
# Where to store temporary files for instantreset worlds.
worlddir: worlds
# Reset worlds on restart
resetOnRestart: false
# List of resetable worlds
#
# Note: they will not load if they are invalid, and messages as
# to why the did not load will be printed to the console.
#
# The environment must match the world save or you will end up
# with an empty world.
#
# You cannot (yet) use this plugin to reset the default worlds in 
# CraftBukkit, as the unload API prevents them from being unloaded.
worlds:
    # Name of world.
    the_end:
        # Name of directory containing the world save.
        template: "world_the_end"
        # Environment, one of NORMAL, NETHER, THE_END
        environment: THE_END
        # Difficulty, one of EASY, NORMAL, HARD, PEACEFUL
        difficulty: NORMAL

need help configurating

this is just the plugin i wanted for my server but i can't figure out how this works, any tutorial?

InstantReset prevent command blocks to select players by team

Hello

I've installed the plugin and it works as expected with spigot 1.8 and last multiverse build.
However when the plugin is loaded I can't select a player who is in a team.

For example run these command in command blocks in the world which is to be reset in the config :
/scoreboard teams add test
/scoreboard teams join @p test
/say @A[team=test]

The first two commands works, but the third doesn't say my name
And as soon as I stopped my server, remove InstantReset and restart the server, the last command and any other comand involving the "team" selector work again.
So there is clearly a conflict between InstantReset and scoreboards.

Can you make a fix for this please ? This prevent me from using this plugin. I intended to use it to reset custom maps with lots of commands blocks.

I know this is a very strange issue. I don't understand why scoreboards are messed up, but please test yourself with spigot 1.8 and only multiverse-core and InstantReset, you will reproduce the issue.

SUPERFLAT worlds

I'm running a Spigot 1.8.7 Minecraft Server. (Nitrado)

There I'm trying to use Instant Reset to reload a map after palying. It's a SUPERFLAT world.
But whenever I'm adding the map into the template folder and the config, the map is empty. (There is just BedRock at the bottom of the Map)

I already tried environment: NORMAL / SUPERFLAT / FLAT / FLATLAND(S)

Nothing worked.
Pls help

Add reset on empty functionality

I would love to see functionality put in where as soon as a Multiverse world no longer has players in it, the plugin could identify and disable any MV portals tied to that world, reset the world, and then re-enable the portals. This could be really useful for resetting mini-game maps on the fly without an admin having to tell them to reset.

Nether terrain won't generate after resetting world_nether

2015-06-09_14 56 20
I removed world_nether and world_the_end from server.properties and bukkit.yml, generated fresh copies and made sure they were able to be teleported to and had chunks generated, then copied the world saves to /InstantReset/templates/, added them to the config, restarted the server to apply config changes, and restarted the server again to test if it reset. world_the_end works fine, but world_nether does what's pictured above, and won't let new chunks generate when someone makes a nether portal. Here's a copy of my config.yml.

Where to look for world templates.

templatedir: templates
worlddir: worlds
resetOnRestart: true
worlds:
world_the_end:
environment: THE_END
difficulty: HARD
template: world_the_end
world_nether:
environment: NETHER
difficulty: HARD
template: world_nether

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.