[INACTIVE][ADMN/TP] XcraftGate v0.9.1 - Multiworldmanager/-teleporter [1060-1185]

Discussion in 'Inactive/Unsupported Plugins' started by Engelier, Jun 4, 2011.

  1. Offline


    XcraftGate - Version: v0.9.1

    XcraftGate started as a replacement for EpicGates and it's successor RealTeleporter. In the meantime it has grown to a complete worldmanagement solution.

    • Create/Delete new worlds (such as Nether, or a specific world for mining, or ...)
    • Set borders for your worlds, so nobody can explore beyond a specific point
    • Create Teleporters between your worlds or to/from your points of interest.
    • Limit the amount of creature spawns on your worlds
    • Completely deny monster or animal spawns on your worlds
    • Allow/Deny PvP on your worlds
    • Allow/Deny weather changes on your worlds

    • /gworld - World management tool
      /gworld list - lists your active worlds
      /gworld info <worldname> - displays some basic info about a world
      /gworld listplayers <worldname> - lists the players currently running around in that world
      /gworld create <worldname> [environment [seed]] - creates a new world on your server, <environment> may be "normal", "nether" or "skylands". defaults to "normal" if left blank
      /gworld listenv - lists all available environments/chunkgenerators usable with /gworld create
      /gworld delete <worldname> - unloads a world (and deletes it from the plugin's database)
      /gworld load <wprödname> - loads a given world
      /gworld unload <worldname> - unloads a given world
      /gworld setsticky <worldname> - controls if a world will be automatically loaded/unloaded with dynamic world loading enabled
      /gworld keepspawninmemory <worldname> - controls if a world's spawn is always kept in memory
      /gworld warpto <worldname> - teleports you to the world <name>
      /gworld setborder <worldname> <#> - sets the border for world <name> to <#> (denies exploration beyond x/z +/- <#>)
      /gworld setcreaturelimit <worldname> <#> - limits creature spawns to a maximum of <#> creatures for the world
      /gworld allowanimals <worldname> <true|false> - Allows or denys animal spawns on world <name>
      /gworld allowmonsters <worldname> <true|false> - Allows or denys monster spawns on world <name>
      /gworld suppresshealthregain <worldname> <true|false> - Suppresses automatic health regaining when allowmonsters is set to false
      /gworld allowpvp <worldname> <true|false> - Allows or denys PvP combat on world <name>
      /gworld allowweatherchange <worldname> <true|false> - Allows or denys weather to change on world <name>
      /gworld setweather <worldname> <sun|storm> - Sets the current weather for world <name> (ignores allowWeatherChange setting)
      /gworld timefrozen <worldname> <true|false> - (Un)freezes the current time on world <name>
      /gworld settime <worldname> <sunrise|noon|sunset|midnight> - Sets the current time for world <name> (also sets time for timefrozen)
    • /gate - Gate management tool
      /gate create <gatename> - creates a new teleportation point at your current position - make sure you look at the direction your users should look at, when they ARRIVE at this point
      /gate move <gatename> - moves a gates location to your current position
      /gate delete <gatename> - deletes a teleportation point
      /gate link <gatename1> <gatename2> - creates a link from <name1> to <name2>, so when you step on <name1> you will be teleported to <name2>
      /gate loop <gatename1> <gatename2> - same as /gate link, but for both ways
      /gate unlink <gatename> - deletes the destination for <name1>
      /gate unloop <gatename1> <gatename2> - deletes a loop between the two gates (if it exists)
      /gate info <gatename> - displays some basic info about a gate
      /gate list - lists all gates in all worlds in alphabetical order
      /gate listnear [radius] - lists all gates near you (radius defaults to 10, BE CAREFUL WITH BIG NUMBERS!)
      /gate listsolo - lists all gates without a source or destination
      /gate warp <gatename> - teleports you to the given teleportation point
      /gate reload - reloads all gates from gates.yml

    Video: HowTo create gates

    XcraftGate.* - permission to use everything this plugin provides

    XcraftGate.use.* - permission to use all gates
    XcraftGate.use.<gatename> - permission to use a gate

    XcraftGate.gate - access to /gate
    XcraftGate.gate.* - access to all /gate commands
    XcraftGate.gate.create - /gate create, /gate move
    XcraftGate.gate.link - /gate link, /gate loop
    XcraftGate.gate.unlink - /gate unlink, /gate unloop
    XcraftGate.gate.delete - /gate delete
    XcraftGate.gate.info - /gate listsolo, /gate list, /gate listnear, /gate info
    XcraftGate.gate.warp - /gate warp
    XcraftGate.gate.reload - /gate reload

    XcraftGate.world - access to /gworld
    XcraftGate.world.* - access to all /gworld commands
    XcraftGate.world.create - /gworld create
    XcraftGate.world.delete - /gworld delete
    XcraftGate.world.warp - /gworld warpto
    XcraftGate.world.setborder - /gworld setborder
    XcraftGate.world.setcreaturelimit - /gworld setcreaturelimit, /gworld allowanimals, /gworld allowmonsters, /gworld suppresshealthregain
    XcraftGate.world.pvp - /gworld allowpvp
    XcraftGate.world.weather - /gworld allowweatherchange, /gworld setweather
    XcraftGate.world.time - /gworld settime, /gworld timefrozen
    XcraftGate.world.info - /gworld info, /gworld list

    If you don't use a permissions plugin, only OPs are allowed to use those commands and all users are allowed to use all gates.

    Stable Version (use this if unsure): XcraftGate.jar (wget friendly)

    Some people are repeatedly asking for development versions, so here it is:
    Development Version: XcraftGate-Dev.jar (wget friendly)
    Development Changelog (open)

    • implemented chunk resending on teleport - should fix death/lag on arrival
    • rewrote plugin management
    • added Register support
    • added /gate rename <gate> <newname>
    • added /gate settoll <gate> <amount> - set amount of money to be taken from the users account when he uses the gate
    • added /gate setdenysilent <gate> <true|false> - don't print error messages when gate usage is denied by permission or not enough money
    • added /gworld suppresshunger - prevents foodbar depletion on the given world
    • added /gworld setspawn - sets the spawn to your current location
    • added /gworld setgamemode <world> <survival|creative> - sets gamemode for the world
    • added /gworld setdifficulty <world> <peaceful|easy|normal|hard> - sets difficulty for the world
    • added /gworld setannouncedeath <world> <true|false> - set if player deaths in the given world should be broadcasted
    • /gworld suppresshealthregain now also affects health regaining by saturation
    • new worlds now obey the spawn-monsters and spawn-animals settings in your server.properties
    • "fixed" bukkit leaking tears when not using SuperPerms

    Put the XcraftGate.jar into your plugins folder and reload/restart your server. All files will be created automatically.

    If you already have some extra worlds add them with /gworld create <name> <environment>. If there's already a world with the same name in your server's folder, it won't be freshly generated, but just get loaded.

    Do not edit the config files manually, as your changes will get overwritten on reload/restart. Use the ingame commands. Tell me when there's an option missing.

    Is there a way I can clear the inventory of anyone entering a specific world? (open)

    Use MultiInv.

    Can we have something like /gworld allowflying? (open)

    No. This is a global setting controlled by craftbukkit. Plugins are not able to change that.

    How do I allow my users to use all gates? (open)

    Add the following permission to your users: XcraftGate.use.*

    Source Code:
    github (Licence: GPLv3)


    I put a lot of work into XcraftGate and intend to do so in the future. If you're able to efford some EUR to motivate me further, I'd really appreciate it :)
    Note: For sure donating is purely optional! XcraftGate is released under the terms of GPLv3, so you have (and will always have) the freedom to use, study, share and improve it as you like!

    Version 0.9.1 (CB1060+)
    • fixed NPE in /gate listsolo
    • changed the way gates teleport players - should fix spawning to high
    Version 0.9 (CB1060)
    • enabled gworld-commands (except "warpto") to be used from the console
    • added support for SuperPerms
    • implemented dynamic world loading - on startup only your default
      world(s) will get loaded. Any other world will be loaded as soon as a
      player tries to access that world and will be unloaded when no player is
      active in that world for 5min. Disabled by default. This can be enabled/tweaked in the config.yml
      Please be aware of this bug when playing around with this feature.
    • added /gworld load
    • added /gworld unload
    • added /gworld setsticky (controls if a world will be automatically loaded/unloaded with dynamic world loading enabled)
    • added /gworld keepspawninmemory
    • implemented custom chunkgenerators (referred to as additional "environments") - currently available: flatlands, island, hillvalley
    • implemented getDefaultChunkGenerator(), enabling craftbukkit to use the custom ChunkGenerators for your default world(s)
      Example (open)

      in your bukkit.yml:
                 generator: XcraftGate:FLATLANDS
    • added /gworld listenv - shows available environments
    • new worlds now obey the pvp-setting in server.properties
    Version 0.8
    • added seed argument to /gworld create
    • added /gate reload
    • added /gate move
    • added /gate info
    • added /gate list
    • added /gate listnear
    • added /gworld listplayers
    • added permissions for gates (XcraftGate.use.<gateName>)
    • worlds with active players cannot be deleted anymore
    • /gworld info now shows the environment
    • improved world detection
    • probably fixed ConcurrentModificationExceptions
    • probably fixed off-gate spawning (corresponding gates have to be recreated)
    • fixed animals always despawning on server reload/restart
    • another workaround for the PLAYER_MOVE event location bug (fixes players getting stuck when reaching the border)
    • fixed /gate warp triggering the target gate
    Older Changes (open)

    Version 0.7.2 (minimum CB-Version: 949, recommended: 953)
    • Update for CB953/MC1.7
    • Food working again as expected
    • added workaround for move-event location bug introduced in CB949 (fixes endless loops, again)
    Version 0.7.1
    • Great, seems using food also triggers the regain-health-event, so supresshealthregain will suppress that, too. Mostly fixed. Cookies still won't work. I've no better solution at the moment. :/
    Version 0.7 (minimum CB-Version: 896, recommended: 935)
    • added /gworld settime
    • added /gworld timefrozen
    • added /gworld suppresshealthregain - craftbukkit automagically let users regain health when allowmonsters is set to false. So we have to control this ourselfs.
      NOTE: XcraftGate automatically sets allowmonsters to false, when the creaturelimit is reached
    • removed "moved too quickly"-workaround
    • removed bukkit-bypass for spawncontrol
    • /gworld info now displays the world's seed
    • /gworld warpto now teleports you to the spawn location of the given world (no more searching for a safe spot in sky worlds)
    Version 0.6.2
    • made teleport check more restrictive (fixed endless loops)
    Version 0.6.1
    • fixed allowAnimals/-Monsters flag handling
    • added workaround for commands not being registered correctly by craftbukkit when being enabled by another plugin
    Version 0.6 (minimum CB-Version: 860)
    • rewrote world management - should fix most problems/inconsistencys
    • added /gworld allowpvp
    • added /gworld allowweatherchange
    • added /gworld setweather (ignores allowWeatherChange setting)
    • /gworld warpto now trys to find a save spot in a 64 block radius around the destination and denys teleport when unable to find one
    Version 0.5 (minimum CB-Version: 834)
    • check for creaturelimit regulary, instead on ENTITY_DEATH. Fixes creature counts dropping very low on low population servers
    • changes are now saved immediately, instead only in onDisable() (reload/restart)
    • added option to completely deny animals or monster spawns on a world
    • removed workaround for crossworld teleportation bug in CB818
    • unload world on /gworld delete
    • added support for SKYLANDS environment
    • complete permission nodes overhaul (s. above for the new permission nodes)
    Version 0.4.1
    • tweaked creatureLimit so the server doesn't try to spawn new creatures when the limit is reached (fixes "Can't keep up"-Spam)
    • typofix
    Version 0.4
    • added /gworld setcreaturelimit -- limits creature spawns
    • added /gworld info -- displays some basic info
    • border now defaults to 0 (disabled) instead of Integer.MAX_VALUE
    Version 0.3
    • public release
    regzand, Masterflapdrol and Rwembee like this.
  2. Offline


    ver 0.6.1 worked all monsters are off in the worlds i want them off, everything in your mod works fast and clean you are a great modder. I havent been as happy as i am now with playing minecraft, again THANK YOU
  3. Offline


    I just made my world "QuarterTropolis" (not the main world) and when I do /gworld warpto QuarterTropolis it just says Error: Couldn't find a safe spot at your destination.
    Help please?
  4. Offline


    when i try to create an already existing world, i put the folder for the world in my server folder, then say
    "/gworld create <world> normal" and it says that it created the world. but then wen i say
    "/gworld warpto <world>" it says "Error: Couldn't find a safe spot at your destination" why is this happening and how do i fix it????? thanks
  5. Offline


    2011-06-16 23:16:41 [SEVERE] Could not pass event PLAYER_MOVE to XcraftGate
        at de.xcraft.engelier.XcraftGate.XcraftGatePlayerListener.onPlayerMove(XcraftGatePlayerListener.java:19)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)e
    An error. Teleports through gates no longer work.
    Bukkit 860: XcraftGate 0.6.1 :(
  6. Offline


    Yeap! it's work now! Gracias!
  7. Offline


    If i enter a gate i wont spawn at the othere location of the gate -.-
    Can someone upload 0.3 version ? i think it works better then the new version <,<
    I found 0.3 but there i respawn in the first world if i die
  8. Offline


    It seems you lost your worlds.yml somehow.
  9. Offline


    bukkit #860
    plugin 0.6.1
  10. Offline


    There is something that would harm you in your other world at that spot try moving further away 50 to 100 blocks and try again

    There is something that would harm you in your other world at that spot try moving further away 50 to 100 blocks and try again

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  11. Offline


    If i make enter a Loop that i created i dont Spawn at the othere site of the Loop.
    How can i fixx that ?
  12. Offline


    @Engelier This looks great. I assume you started this because you wanted a clean MW? My main request or hope is you be willing to add a simple whitelist system into the gates / teleports. People can't use the gate unless their on the whitelist. This to start private communities and such.

    If you do I would like to see it done via text file maybe like this:

    playername,gatename(or if you want to make it simple just full out world restriction then rather gate it be the world name,)
    playername,world or if you feel like adding all

    then you could do stuff like

    would allow me to use any gate to nether.

    Anyways I hope you consider this request.
  13. Request: any chance for mysql support and a gate loading command, that'd be epic.
  14. Offline


    every time i create a skylands world i get this error if i try to teleport ; Error: Couldn´t find a safe spot at your destination
  15. Offline


    Why am I getting this error again and again?

    [SEVERE] could not pass event PLAYER_MOVE to xcraftgate
    [SEVERE] could not pass event CREATURE_SPAWN to xcraftgate

    Please help!!!!!!
  16. Offline


    Does it work if I use your Plugin for the World Creation Tool and another Plugin (namely Wormhole-X-Treme) for the Gates? Because I like the Stargates most but I love yours for the Managment capabilities.
  17. Offline


    What exactly did you do?

    I already thought about using permissions for that. E.g. XcraftGate.use.<gatename>

    MySQL. Hrm. No. Don't think so. For what?
    And what do you mean with "gate loading command"? Are you editing your gates manually on the filesystem? :)

    Just move around some 50 blocks or more and try again. XcraftGate tries to find a safe spot to teleport you to in a 64 block radius around your destination. If there isn't one (which is very likely in SKYLANDS), this error is shown.

    could not pass event QUESTION to Engelier: TooFewInformationException

    The gate part of XcraftGate is completely optional. I don't know, how Wormhole-X manages it's worlds. So I would suggest to backup your server and give it a shot.
  18. Combination of mysql + reload command allows for scripting randomly appearing gates, or with any sort of method, determined by the script :)
  19. Offline


    released 0.6.2 with a more restrictive check if someone has just been teleported. Please let me know if that fixes your problem

    Hrm. Funny idea. At least /gate reload is easily implementable - will be added in 0.7
  20. Offline


    it would be nice if you could have seperate inventorys per world
    as you get the obvious flaw when you have survival and free build worlds stuck together with no way to quarantine inventory's

    along with that switching permissions on entering a different world would be nice
  21. Offline


    Xcraftgate with Mysql *_*
    i think it will be better to handle :D

    [MECH] MultiInv V1.5.2 - Per World Inventories [818/819] | Bukkit Forums

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  22. Offline


    Is it possible to use commands on a world with spaces in the name? I am having issues trying to set borders for my world.
  23. Offline


    Thank you. I hope that you will find a way to do this. I have seen that this possibility exists in MultiVerse. Keep up the good job. :)
  24. Offline


    I made like 4 different worlds and all had this problem :x.. but okay ill go try.
  25. Offline


    just type "/time set 0" u dont need a plugin
  26. Offline


    Great plugin, thanks!
    Do I need to set any permissions for people to just use the gates?
  27. does it work , if i want to create new world with pvp only, id create ruins etc. there.
    I want it to be small (like 200x200 or 300x300 blocks only)

    can i change the size of the world?
  28. Offline


    Nope. Not yet.

    /gworld create PvPZone normal
    /gworld setborder PvPZone 200
    /gworld allowpvp PvPZone true

    And perhaps for a "clean" environment:

    /gworld allowweatherchange PvPZone false
    /gworld setweather PvPZone sun
    /gworld allowanimals PvPZone false
    /gworld allowmonsters PvPZone false

    and as of v0.7 (not released yet)

    /gworld timefrozen PvPZone true
    /gworld settime PvPZone noon
  29. oh my god, thank you!
    now my next proplem is: ive tried 2 times create pvp world, now it did.
    now i just must wait to map load so i can go there anyway. ty anyway ill try fight with this xD
  30. Offline


    Finally, you managed to do it ! Oh yeah ! I will wait for the 0.7 version !
  31. I wonder why this created the world (in 5 mins)
    but when i warp there , it wont load the map around at all :( i just get read time out after a while

Share This Page