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

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

  1. Offline

    Engelier

    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.

    Features:
    • 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


    Commands:
    • /gworld - World management tool
      Code:
      /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
      Code:
      /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



    Permissions
    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.


    Downloads:
    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)
    I WILL NOT SUPPORT THE DEVELOPMENT VERSION! USE THIS AT YOUR OWN RISK AND DON'T COME CRYING IF IT EATS YOUR KITTEN BABYS!
    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



    Installation:
    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.


    FAQ:
    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)


    Donations:

    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!
    [​IMG]


    Changelog:
    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:
      Code:
         worlds:
             worldname:
                 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

    Iqfish

    Thank you a lot! I had some problems, but i got insta-support form the developer and now everything works perfectly. This is an awesome plugin for easy multiworld swithcing with awesome looking portals. Thank you!
     
  3. Offline

    Pyraah

    I've an error.
    I use CB 819.
     
  4. Offline

    Fujikatoma

    Where the Loops are saved ?
    because i have so much and i want to delete all and make all new

    And if i try to unloop i get the same error that Pyraah has :/
     
  5. Offline

    montymintypie

    I'm getting a conflict with WorldGuard 5.0-alpha10. Not sure if it's you or WorldGuard's fault. This happens on server start, but not on /reload. It seems to be related to a creature spawn limit I have on one of my worlds (set to 1).

    Code:
    10:11:27 [SEVERE] Could not pass event CREATURE_SPAWN to WorldGuard
    java.lang.NullPointerException
            at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onCreatureSpawn(WorldGuardEntityListener.java:397)
            at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:633)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
            at net.minecraft.server.World.a(World.java:1938)
            at net.minecraft.server.Chunk.addEntities(Chunk.java:470)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:78)
            at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:418)
            at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:358)
            at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:354)
            at de.xcraft.engelier.XcraftGate.XcraftGate.loadWorlds(XcraftGate.java:181)
            at de.xcraft.engelier.XcraftGate.XcraftGate.onEnable(XcraftGate.java:66)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:764)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Also, I'd love to create a 'peaceful' world, but 0 creatures = disabled = as many as the server wants. Can you make 0 creatures an option somehow?
     
  6. When I try to do a /gworld warpto *name of new world* it says "Multiworld teleporting is disabled in this build"....HELP!
     
  7. Offline

    Traq

    Anyway, it's still a great plugin !
     
  8. Offline

    Engelier

    your worlds.yml is corrupt. Stop your server, delete the file, start your server and readd all your worlds (including the default one) with /gworld create

    We're also using WorldGuard 5.0-alpha10 on our server and I can't reproduce that error. Does setting the limit to a higher value solve the problem?


    I'll think about that. Sound's like a good addition for XcraftGate 0.5

    Please use the latest recommended build of CraftBukkit
     
  9. Offline

    TankFox

    If anyone is looking to migrate away from EpicGates to XcraftGates I have produced a small perl program to ease the transition;

    http://taps.webhop.biz/convert.pl

    This program is intended for systems administrators and I can only provide limited support for it!

    EDIT; Updated this on july 15th 2011 to fix a positioning bug. I was putting the exits in too high, leading to a half a heart of damage every time I teleported.

    I didn't notice at first since I normally roll with god mode on!
     
  10. Offline

    pixelbat

    This looks pretty good. Switching over from epicgates :)
     
  11. Offline

    theheyway

    Is it possible at all to make a different set of permissions to allow regular users to create, but not /gate warp towards different teleporters? That would be excellent! Also, I couldn't find a /gate list command, just /gate solo. Any tips?
     
  12. Offline

    The PC Tech Guy

    Being an EpicGates user (and a Warpgates user, the first plugin I used), EpicGates still works for me. However, I may need to transition soon... now, does it work pretty much the same as EpicGates (landing block, teleporting block), and how come I need Perl stuff to convert my file... Otherwise, thanks for picking up this project!
     
  13. Offline

    Arcwolf

    I'm an EpicGates convert :) ... anyway, Might I request support for MultiVerse's Skylands world. Seems this plugin picks up on the skyland world and creates an entry in the worlds.yml. However, it doesnt put the type into the worlds.yml. Since the type is missing the next server reload causes a null pointer and deletes all the gates from the gates.yml. That will continue until you either clear out the worlds.yml or add type: skylands to the worlds.yml ... That still errors with invalid type but at least doesnt delete the entire gates.yml.
     
  14. Offline

    montymintypie

    I tried a couple, from 2 to 10, still got the error. Tried deleting config files for worldguard for that world and deleting/readding the world. Still didn't fix it... Any ideas? I also tried setting it to 0, still nothing. Does it matter that I've also got a size limit of 250 on the world?
     
  15. Offline

    Engelier

    Yes, I planned a permissions overhaul for version 0.5 anyway.

    There is no /gate list, since I don't think it's very useful once you created a good amount of gates.
    I plan on implementing something like /gate listnear to find gates in the area around you.

    XcraftGate was developed completly independent from EpicGates. EpicGates was just the inspiration. That convert.pl is a user contribution for people who don't want to recreate all their gates, and it works just fine as far as I can see.

    Maybe I'll implement a native converter some time in the future. But don't expect this to happen soon.


    Will be supported with version v0.5.


    When will version 0.5 be released?

    It's almost done. I just have to wait for a new recommended build, because version 0.5 depends on CraftBukkit >=834.
     
  16. Offline

    Beans

    is this plugin comatable with essentials multiworld spawn? cuz i keep getting (illegal stance) and it kicks me out. whats up with that
     
  17. Offline

    Engelier

    I'm not aware of any problems regarding Essentials. Which CB-Version are you using? There are some multiworld issues in CB818, perhaps this is causing your trouble. We run CB819 on our server and don't have any problems with XcraftGate and Essentials (2.3).
     
  18. Offline

    Beans

    i run CB 818 so i will try to update.
    thanks
     
  19. Offline

    Mpfk

    What plugin do you use to get all your bricks/signs?

    Lol thx!
     
  20. Offline

    montymintypie

    Any chance of an early beta release?;) I'm already rocking 839...

    Also, the conflict with WorldGuard just resolved itself - I just installed Permissions, that may have something to do with it. I'm happy either way!

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

    pawarm

    It's awesome and simple to use plugin but i think to be a configuration file to change ex. monster=true/false allow-flight=true/false pvp=true/false etc.
    sorry for my bad english, I'm from Poland:D
     
  22. Offline

    enilsss

    I like the border feature with this plugin, but I kinda wish it would specify where the center is. I have world2 that starts off at like x:400 and z:-200
     
  23. Offline

    robbert777

    cb860 is out
     
  24. Offline

    Engelier

    Released version 0.5

    read the changelog!!!

    per world pvp setting will be added in version 0.6
    allow-flight is a server wide setting

    I want to keep that feature as simple and minimalistic as possible, since this has to be checked on every PLAYER_MOVE. And this event is fired even if you just move your mouse without changing your position, for every single player.

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

    davig019

    im running v 0.5 on 860 and the teleport works fine until a server restart. When using the "/gworld create" it lists some /gworld commands but dosnt create a new world. I can use "/gworld warpto" to connect to the bukkit generated nether (world_nether). I also get the "create some gates!" line when booting the server.

    EDIT: i have found that right clicking the pluggin .jar and clicking unblock has helped. now however i can only create a world without including a suffix for the world type.
    E.g "/gworld create lotr" will create a world defaulting to normal but "/gworld create lotr nether" will just list the /gworld commands

    any problems that you can see with my syntax?
     
  26. Offline

    Engelier

    Whoops. Got a number wrong. Please redownload the plugin. Should work now as expected.
     
  27. Offline

    davig019

    Thanks works fine now.

    Only other problem im having is that on longer distance teleports the chunk that i teleport to is not loading and i stand there bouncing up and down until i reconnect to the server. The chunks all around me load just not the one that i teleport to.

    EDIT: found a fix for this. Using the bannachunk pluggin it seems to be working fine.
    here is a link to the pluggin page:
    http://forums.bukkit.org/threads/fi...-chunk-resend-now-with-auto-resend-818.19232/
     
  28. Offline

    Triggerpunk1

    error on server shut down it refuses to save warps worlds save just fine
    im runin 818
    here is my server log
    http://pastebin.com/yiQbV1N1
    any help would be nice

    Edit: nvm i corrected it myself
     
  29. Offline

    acetech09

    If you could add a command to import existing maps I'd immediately ditch both MultiVerse and NoSpawn for this.

    Configurable monsters would be nice, so you could i.e. only disable creepers on one of your maps.
     
  30. Offline

    LtdSupply

    I am curious, does the warpto command not adhere to defined spawn points? I have warped a few times to randomly generated areas of maps I added to the directory after their creation. I've also had to use another plugin to get a spawn area on a Skylands map I generated with this. When I'd try to warp to it I simply fall off the map to my death. Is there any way to set the warpto to take me to the defined spawn for each map? Cheers![redflower]
     
  31. Offline

    Fujikatoma

    Can u make a World Name edit Function ?
     

Share This Page