[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



    dose /gate warp name

    still obey permissions to use the gate? or dose it bypass if it obeys perms i can give it to my players with out them getting to admin only gates :D

    also having a small issue with getting the bukkit sad message on /gate and /gworld but i think im missing perms for them atm just has me worried because if i was just missing perm shouldn't the plugin send a message and not bukkit?
  3. Offline


    I have the same porblem like Jadmalo, if i restart my server all gates are deleted, but in my worlds file the line type: nether exist already... I dont know hoe to fix
    Wolke: {locP: 19.660685, name: Wolke, target: Wolke-, locYaw: 180.0639, locX: 186.5,
      locY: 64.0, locZ: 249.5,
    world: Vogelfutter}
    Wüste: {locP: 33.243587, name: Wüste, target: Wüste-, locYaw: -86.579414, locX: 500.5,
    73.0, locZ: 215.5, world: Vogelfutter}
    Loch-: {locP: 28.71605, name: Loch-, target: Loch, locYaw: 175.86061,
    locX: 245.5,
      locY: 47.0, locZ: 343.5, world: Vogelfutter}
    höle-: {locP: 42.108913, name: höle-, target: höle,
    locYaw: 174.99908, locX: 1011.5,
      locY: 64.0, locZ: 476.5, world: Vogelfutter}
    Todesstern: {locP: 23.35175, name:
    Todesstern, target: Todesstern-, locYaw: 87.57073,
      locX: 504.5, locY: 73.0, locZ: 215.5, world: Vogelfutter}
    Berg-: {locP: 30.494724, name: Berg-, target: Berg, locYaw: 86.439606, locX: 321.5,
      locY: 91.0, locZ: 4.5,
    world: Vogelfutter}
    unten: {locP: 46.988083, name: unten, target: oben, locYaw: -0.33840942, locX: 513.5,
    49.0, locZ: 202.5, world: Vogelfutter}
    oben: {locP: 41.785587, name: oben, target: unten, locYaw: 183.94421,
    locX: 499.5,
      locY: 73.0, locZ: 213.5, world: Vogelfutter}
    Todesstern-: {locP: 60.86613, name: Todesstern-,
    target: Todesstern, locYaw: 114.51776,
      locX: 561.5, locY: 100.0, locZ: 156.5, world: Vogelfutter}
    {locP: 50.383797, name: Schiff1, target: Schiff2, locYaw: 274.8198, locX: 190.5,
      locY: 64.0, locZ: 318.5,
    world: Vogelfutter}
    Loch: {locP: 47.634823, name: Loch, target: Loch-, locYaw: 357.12558, locX: 186.5,
    64.0, locZ: 237.5, world: Vogelfutter}
    Schiff2: {locP: 24.349756, name: Schiff2, target: Schiff1, locYaw:
    186.7992, locX: -56.5,
      locY: 63.0, locZ: 214.5, world: Vogelfutter}
    Wüste-: {locP: 29.847902, name: Wüste-,
    target: Wüste, locYaw: -356.61816, locX: 1011.5,
      locY: 64.0, locZ: 487.5, world: Vogelfutter}
    Berg: {locP:
    35.34558, name: Berg, target: Berg-, locYaw: 276.922, locX: 185.5, locY: 64.0,
      locZ: 243.5, world:
    Wolke-: {locP: 23.541498, name: Wolke-, target: Wolke, locYaw: 183.1365, locX: 147.5,
      locY: 80.0,
    locZ: 355.5, world: Vogelfutter}
    Falle: {locP: 58.307117, name: Falle, target: Falle-, locYaw: -169.69293, locX:
      locY: 51.0, locZ: 486.5, world: Vogelfutter}
    wasser: {locP: 37.770947, name: wasser, target: wasser-,
    locYaw: 273.68655, locX: 185.5,
      locY: 64.0, locZ: 253.5, world: Vogelfutter}
    höle: {locP: 34.509148, name: höle,
    target: höle-, locYaw: 176.02396, locX: 1044.5,
      locY: 32.0, locZ: 487.5, world: Vogelfutter}
    Tempel-: {locP:
    38.903072, name: Tempel-, target: Tenpel, locYaw: -177.45544, locX: 513.5,
      locY: 49.0, locZ: 216.5, world:
    wasser-: {locP: 35.02204, name: wasser-, target: wasser, locYaw: 263.82385, locX: 119.5,
    47.0, locZ: 381.5, world: Vogelfutter}
    Tenpel: {locP: 39.388115, name: Tenpel, target: Tempel-, locYaw:
    274.65817, locX: 184.5,
      locY: 64.0, locZ: 239.5, world: Vogelfutter}
    Falle-: {locP: 25.13055, name: Falle-,
    target: Falle, locYaw: 356.4808, locX: 1037.5,
      locY: 38.0, locZ: 477.5, world: Vogelfutter}
    Vogelfutter: {setTime: 100, timeFrozen: false, setWeather: SUN, type: NORMAL, creatureLimit: 0,
      allowWeatherChange: true, suppressHealthRegain: true, sticky: false, allowPvP: false,
      allowMonsters: true, allowAnimals: true, name: Vogelfutter, generator: DEFAULT,
      border: 0}
    Vogelfutter_nether: {setTime: 100, timeFrozen: false, setWeather: SUN, type: NETHER,
      creatureLimit: 0, allowWeatherChange: true, suppressHealthRegain: true, sticky: false,
      allowPvP: false, allowMonsters: true, allowAnimals: true, name: Vogelfutter_nether,
      generator: DEFAULT, border: 0}
  4. Offline


    Engelier can you Update Xcraftgate to the latest Build, beacause i have little laggs when i warp per worlds ;)
  5. Offline


    I have put two new worlds in y folder but it doesn't sense these worlds,it don't show them and i can't get to them, what should i do ?
  6. Offline


    When i try to go a world the Minecraft screen just goes blue then black, after that my Minecraft crashes. But if i go to a different area of the world it works fine. Is it conflicting with other plugins?

    The plugins i have are: Essentials (GeoIP, Essentials, Protect, spawn, and chat)
    Vanish no pickup
    Always sunshine
  7. Offline


    @Megalanias did you do a "/gworld create worldname" ?
  8. Offline


    any ideas on the people dying any time they warp to another world problem?

    also on a reload i got this message
    2011-10-17 17:48:21 [SEVERE] Error occurred (in the plugin loader) while disabling XcraftGate v0.9.1 (Is it up to
  9. Offline


    @Yurikoma update craftbukkit to 1318
  10. Offline


  11. Offline


    Hello @Engelier !

    Do you plan to add a way to select the world type (Creative or Survival) via XcraftGate ?

    Just read the dev-build changelog. Next time, I will do this before. :p
  12. Offline


    *bump* for no answers yet :cool:
  13. Offline


    How about a "/gworld allowgamemodechange "world" true/false function? Is that even possible? That would be awesome if it prevents ppl from changing gamemodes in certein worlds (even ops) and it would accompany your /gworld setgamemode function nicely.
  14. Offline


    released dev build 0.10d13 - this will probably be the last dev build before releasing v0.10
    please check for any bugs and let me know

    I'll check on that in the future. It's not too easy with the current way commands are processed.

    added in XCG v0.10d13

    Hrm. I'll check on that to. The problem being, that the folder on disk would have to be renamed, too. Dunno what implications this may have.

    Cannot reproduce. Anyone else experiencing this?

    Implemented chunk resending in v0.10d12 - should fix that (and any other die/lag on teleport), hopefully

    When this is the case there's always an exception showing in your log. I need that output to have an idea what's happening there.

    This is meant to be an admin-command. It bypasses specific gate permissions and only checks for XcraftGate.gate.warp

    Use the developer version. This is due to a change in bukkit's permission checks in 1185 and happens, when you use a permissions plugin not utilizing SuperPerms.

    use /gworld create <worldname> (the world's name is the name of the folder your world data is in)

    I'm sorry. The problem is XCG has to load *before* any worlds are loaded to provide it's ChunkGenerators to default worlds. Since there is no event for "bukkit is done loading the default worlds, now load your extra worlds" and you cannot load any worlds before bukkit does, the only point in the whole startup process to load additional worlds is after all other plugins have been enabled. And even this is done via a dirty trick that might break in the future.

    Just ask the MobArena-Dev to listen to WORLD_LOAD events. Shouldn't be too hard.
  15. Offline


    can you upload your own worlds with this plugin, such as if I wanted to get an adventure map, or skyblock survival on a world on my server, can I do that with this plugin? and if so, how?

  16. Offline


    That's fine i just wanted to have it as a VIP kind of feature that was all.

    Was getting the message when i was using PEX witch dose support SuperPerms Turns out i was just missing permissions for the command completely :/ all fixed...
  17. Offline


    Put the adventure/premade world folder with the other world folders, then a simple /gworld create worldname will register it with XCG.
  18. Offline


    I updated Bukkit and this plugin today. I noticed that health wouldn't regen and there weren't any mobs. Fortunately, through troubleshooting, I pinned it down to XCG as the culprit.

    worldnew: {setTime: 100, timeFrozen: false, setWeather: SUN, type: NORMAL, creatureLimit: 0,
      allowWeatherChange: true, suppressHealthRegain: false, sticky: false, allowPvP: true,
      allowMonsters: true, allowAnimals: true, name: worldnew, generator: DEFAULT, border: 0}
    I tried altering the config and using the following commands to no avail:

    /gworld suppresshunger worldnew false
    /gworld suppresshealthregain worldnew false
    /gworld allowmonsters worldnew true

    Thanks for the great plugin. Hope you can get this fixed soon...our server relies on it for transportation. :)
  19. Offline


    I try to go to a world that isnt the main world and my screen just goes blue what wrong?
  20. Offline


    How about a "/gworld allowgamemodechange "world" true/false function? Is that even possible? That would be awesome if it prevents ppl from changing gamemodes in certain worlds (even ops) and it would accompany your /gworld setgamemode function nicely.
  21. Offline


    maybe the difficulty is set to peaceful by default - try /gworld setdifficulty worldnew easy

    Blue? Like in Blue-Screen-of-Death blue? I'm sorry, I can't imagine what's happening there.

    Added to my feature request list.
    MikeThePickle likes this.
  22. Offline


    Hello, I have a problem with XcraftGate. When op or owner use/gate, bukkit answers: bukkit sad, bukkit want to let you access the command but bukkit can not let you do that bukkit will leak tears
    I use last version of Bukkit (1337), but I started XcraftGate on Bukkit 1185 and it did not work too :(

  23. Offline


    Which permissions plugin are you using, and which permissions did you give?
  24. Offline


    I am use permission 3.1.6. I tried to start plugin without permissions, but it did not work.My XcraftGate works well on 1.7.3 bukkit
  25. Offline


    Bukkit have added a permission node for the use of /gamemode 0/1 so you could just remove the permission from your ops for the worlds you don't want them to be able to use it in?
  26. Offline


    No not like that, a light blue then it goes black I can get a screenshot of it
  27. Offline


    yes, but even without permissions this could prove very useful in just maintaining the gamemodes in the different world when no special permissions are loaded...

    Thank you Engelier for adding it onto the list of feature to add, I'm looking forward to that.
  28. Offline


    thanks now i know how ^^ and it works
  29. Offline


    Downloadlink is down :-(
  30. Offline


    Use the one on dev.bukkit.org
  31. Offline


    Please fix the Lagg perhaps Warp per Worlds. Every Time the server goes down.

Share This Page