[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. Recently updated xcraft and now no one has the permissions to use any gates,, What has happened? I added the XcraftGate.use.*: true node

    As you can see i am using permissionsbukkit,, incompability prehaps? :eek:
  3. Offline


    would it be possible to get a command that deletes a world and regenerates it with a different random seed?
    Also it would be great to be able to limit the /gworld warpto command to specific worlds with permissions.

    I gave a group of people the XcraftGate.world.warp permission, but they cannot use it. Anything else I have to observe?
    if I give them XcraftGate.* they can use the warpto command. But already XcraftGate.world.* does not allow them to use it anymore. I tried to look through the source code to find something but failed there. Any help is HIGHLY appreciated!!

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


    Try the development version (v0.9). 0.8 doesn't support SuperPerms

    Uhm. Good question. I'll try.

    I see where this could become handy. I'll put that on my ToDo.

    They need XcraftGate.world to access /gworld at all. In addition to that XcraftGate.world.warp to use the warpto command.

  5. Thanks i will try it as soon as i get home! Btw thx for an awesome plugin! <3
  6. Offline


    Hello I just used stable version I tried some tests with gates and I have a problem
    When I create gates nearby it works, but I tried to add gates about 300 far away
    GATE1 was at y=67
    GATE2 was at y=65

    when I teleported from gate GATE2 to gate GATE1 works no problem, but
    when I teleporated from GATE1 to GATE2 chunk where was gate 2 didn't loaded and I got stucked in air and couldn't move and there was empty space

    but when I walked from GATE1 to GATE2 everyting was fine
  7. Could someone explain to me why this doesnt work?
    i am opped. i have the *permission yes i cant use commands..

    cb1060 and permissionsbukkit

  8. Offline


    Hello! when i started my server today i got my XcraftGate updated but when i restarted servern it crashed the server with Too many files open what to do?
  9. Offline


    edit: It seems to be working now, it may be how bPermissions reload command effects xcraftgate, whatever case its working great, thanks for the awesome plugin.
  10. Offline


    The update broke my server 100% hahaha

    *starts from scratch* :(

    Edit: I'll use the version before the update haha!
  11. Offline


    I'm having the same problems as vibraloop. Using Permissions 2.7.7 and Group Manager, I have myself opped and given the * permission node. It won't let me use any commands. Extremely frustrating, because I have spent hours trying to configure it correctly.

    Alright, switching to the dev version completely fixed it. Probably some incompatibility with Permissions 2.
  12. Offline


    can you make a config switch so that /warpto ALWAYS puts you at 0:0, even if there is water?
  13. Offline


    My server for some reason works. but doesnt work. I start from the main world.

    The permission is set up so the members can use the portals to go between worlds. BUT when you end up on the other world. Even though that group of permissions has that permissions to use the gates. It says that they do not have permission to use that gate. Any help would be good. Please respond fast.
  14. Offline


    Hello, I have been using your plugin a while. It have been working great and I have no problem with it so far.
    But I have another problem on my server that might be connected.. People can fly even if I have server properties set to flight false. Im thinking if this movement problem might be connected to the geting kicked for moving after port problem your plugin had a while. Do you think there is a chance to block normal flight but use your plugin?
  15. Offline


  16. Offline


    Wow Awesome Inactive plugin dev. That's so awesome i'm just rolling in awesome sauce.
  17. Xcraft still does not seem compatible with Permissionsbukkit and build 1060.. Any eta on a patch?

    Im having the exact same problem :/

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


    Getting this error as of recent. and no changed have been made that I know of. it just started popping up 3 or so days ago.

    2011-09-12 12:35:12 [INFO] [XcraftGate v0.8] hooked into Permissions 2.7.2
    2011-09-12 12:35:12 [INFO] [XcraftGate v0.8] by Engelier loaded.
    2011-09-12 12:35:12 [INFO] [XcraftGate v0.8] loaded world world (Environment: NORMAL, Seed: 75456088)
    2011-09-12 12:35:12 [INFO] [XcraftGate v0.8] loaded world world_nether (Environment: NETHER, Seed: 75456088)
    2011-09-12 12:35:12 [INFO] [XcraftGate v0.8] loaded world flatlands (Environment: NORMAL, Seed: -3969691873150408759)
    2011-09-12 12:35:12 [SEVERE] java.lang.NullPointerException
    2011-09-12 12:35:12 [SEVERE] at de.xcraft.engelier.XcraftGate.XcraftGate.loadWorlds(XcraftGate.java:210)
    2011-09-12 12:35:12 [SEVERE] at de.xcraft.engelier.XcraftGate.XcraftGate.onEnable(XcraftGate.java:96)
    2011-09-12 12:35:12 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-09-12 12:35:12 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    2011-09-12 12:35:12 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-09-12 12:35:12 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    2011-09-12 12:35:12 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    2011-09-12 12:35:12 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    2011-09-12 12:35:12 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    2011-09-12 12:35:12 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-09-12 12:35:12 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-09-12 12:35:12 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    build 1060 craftbukkit. all other plugins are updated. I tried eliminating as many as possible.
    basic config. Essentials with group manager.

    Thank you.

    Love the plugin. been using it for a few months now.
  19. Offline


    After a long testing period I feel finally comfortable enough to release v0.9

    It has still some rough edges (e.g. dynamic world loading not practicable usable due to a bug in craftbukkit), but it should do it's job.

    Please post any errors/suggestions/problems/questions to http://dev.bukkit.org/server-mods/xcraftgate
  20. Offline


    testing now.. so far so good :)
  21. Offline


    I got some problems with the plugin (I'm new at minecraft and I wanted to make a server, I have a 1.7.3 server OFC.), it seems great and some things work, like setting up gates, etc. but commands like /gworld allowmonsters and those... give me error: An internal error ocurred while attempting to perform this command.

    I check the server log and I find this:

    02:35:13 [GRAVE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gwor
    ld' in plugin XcraftGate v0.9
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.World.setKeepSpawnInMemory(Z)
            at de.xcraft.engelier.XcraftGate.DataWorld.setParameters(DataWorld.java:
            at de.xcraft.engelier.XcraftGate.DataWorld.setParameters(DataWorld.java:
            at de.xcraft.engelier.XcraftGate.DataWorld.setAllowMonsters(DataWorld.ja
            at de.xcraft.engelier.XcraftGate.Commands.CommandWorldAllowMonsters.exec
            at de.xcraft.engelier.XcraftGate.Commands.CommandHandlerWorld.onCommand(
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    What's the problem I'm having?

    Anyway, while I was checking the server log, I found these errors too:
    [GRAVE] Error occurred while enabling XcraftGate v0.9 (Is it up to date
    Weird, I downloaded the stable version of this plugin and i have the Build 1060 for 1.7.3 servers, is this right? Anyway my plugin works for some things...

    And this one:
    [GRAVE] Could not pass event WORLD_LOAD to XcraftGate
    I get both errors while I start the server... Can someone help me?

    Thank you.

    btw. I don't own any permission plugin, I just do that being OP in-game
  22. Offline


    It seems you're *not* using CB1060. Please doublecheck your server version.
  23. Offline


    Yeah, you were right! I changed the bukkit.jar to the current one and i started the server, NO ERRORS!

    But there's a weird thing, when I use any /gworld command I get kicked from the server for flying/floating! how can I fix that?

    Eg: /gworld settime world sunrise

    The command works right, but after 5 seconds the server kicks me:

    [ADVERTENCIA]BlancoLanda was kicked for floating too long!

    The commands /gworld settime and setweather give problems... When I put them the server gets bugged (I have to restart it) and the log says:

    Can't keep up! Did the system time change, or is the server overloaded?
  24. Offline


    I cant Build on my world! it keeps coming up with the error

    "You do not have permission to destroy in this zone."


  25. Offline


    All of my gates deleted them selves... I just /reload ed the server, and then typed /gate list and only about 5 were left. This has happened twice now, what am I doing wrong?
  26. Its working now, Awesome m8, i have been waiting a while for this! Thanks! <3
  27. Offline


    ever since i updated to xcraftgate .9 gate listsolo gives an internal command error and gate between worlds are off I always spawn on the next highest block if their is one above the spawn in point

    CONSOLE: This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
  28. Offline


    am owner and op
    bukkit sad, bukkit want to let you access the command but bukkit can not let you do that
    bukkit will leak tears

    bukkit was working before with 1.8 im runnign 1145 cb
    i use essentials groups for permissions
  29. Offline


    sorry if someone has posted this already but is there a fix for portals spawning you above the frame of the portal?
    i have been using this plugin for some months now and only had that problem once before with ony one portal but it fixed itself - never had it again until i updated to 0.9

    any thoughts please let me know
  30. Offline


    Whenever I go through a gate that I looped I end up on top of whatever structure is around my gate. Then when I tried it in a clear space I would get hurt every time I went from one gate to the other. Any suggestions?
    pucky likes this.
  31. Offline


    None of the permissions seem to work i keep getting the bukkit sad message when i have the xcraftgate.* node in permissions bukkit it was working up intil i updated my CB to 1149

    Also the other reports of spawning above gates has me worried... i have lava above all mine....

Share This Page