[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

    pucky

    same problem - if you find a fix please let me know :)
     
  3. Offline

    bluehasia

    so i want and downgraded to v.8 to fix the spawning at the highest pointed between worlds, and now it says i dont have permission, i upgraded back to .9 still says i dont have permission :confused:



    funny ever since i updated to v.9 when ever i do a /reload i get booted saying i was flying also

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

    Engelier

    @all: If you encounter any bugs, please post them on dev.bukkit.org. There's a nice Ticket-System which makes it much easier for me to keep track of all bugs/problems and for you to see if anyone encountered the same problem.
    Direkt link: http://dev.bukkit.org/server-mods/xcraftgate/tickets/

    I can't reproduce that. Any errors on the console? Any other hints?

    I can't reproduce that either. Anyone else having this problem?

    XcraftGate does not interfere with building or destroying blocks in any world. Check your permissions.


    Verified. Fixed in the development version. It's save to use it, since this is the only thing I changed so far.


    Verified. Not sure what's happening there. Trying to hunt this one down now.

    Can't reproduce. Any errors on the console? (Note, that the recommended version for XcraftGate is CB1060, but I'm runnin CB1160 on my development server and it's working as expected there, too)

    It seems to be a problem when porting between worlds. At least that's the only circumstance I was able to reproduce this. Working on it right now.

    You looped? You got hurt? Which version of XcraftGate are you using?

    CB Version? Any errors on the console?

    Everyone having this issue, please try to recreate/move the corresponding gates and test if this is still happening.

    Easiest way to do this:

    /gate warp <gatename>
    /gate move <gatename>

    Just don't move your mouse between those commands and nothing will change, just the location get's updated.

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

    Rwembee

    Seems 2 blocks above the destination is required if coming from another world VIA portal.
    The manual command seems to arrive fine from other worlds. using XCG.9 and CB 1166 and 1171
     
  6. Offline

    Engelier

    Well, that's interesting. The only difference between the manual teleport and the gate teleport was because of bukkit's recommendation on how to modify move-events. For now I'll ignore those recommendations and let gates port the same way the command does.

    Please check out the new development version (it should say "v0.10d2"). That should be save, as it contains only bugfixes.
     
  7. Offline

    kozuri

    The link youve posted for dev-version links to normal version.
    Dev 0.10d2 works fine for me without errors on CB #1185. Porting to gates now works. thx
     
  8. Offline

    bluehasia

    so far everything is back to normal.

    gate listsolo works
    and spawning between worls puts us in the right spot

    mc 1.7.3
    bukkit 1060
     
  9. Offline

    Engelier

    Great. I already released the bugfixes as v0.9.1 and will now start working on new features.
     
  10. Offline

    PatrickWTB

    Come on now that baad
    It is not working so dont tell me crap with your 1185
    Remove this !
     
  11. Offline

    ryokojr

    I am wondering if it's possible to set the world spawn. Like, setting a spawn in the world that I want people who first enter the game to spawn at.
     
  12. Offline

    pucky

    thanks its great to see a plugin with such an active development

    oh and also - you said something about getting hurt when portaling?:
    well i have found this happens when people are using muti inv (or similar) and have a diferent health in each world. so when they go between worlds the easiest way for the plugin to lower a players health back to what it was when they were last there is to "hurt" them, or deal enough damage to get them back to their previous health in that world.

    hope that helps and sorry if i am wrong
     
  13. Offline

    Rwembee

    I'm having a problem with settime glitch freezing a world. Mobs stop moving and can't be hurt, can't pick up any items but exp orbs follow you. Sometimes mobs will disappear. If I warp to another world and come back, it's fine. I've pulled all plugins, using cb1185 and xcg.9.1
     
  14. Offline

    Dominator1337

    When I upgraded to xcraftgate 1185, When i tried to warp to a world, it says: "world [worldname] doesn't exist." Xcraftgate just isn't loading my worlds into its memory! Should I remove it completely and re-install?
     
  15. Offline

    Gurkengelee

    If I upgrade from 1.7.3 to 1.8 and use this plugin to create a new world, will it use the 1.8 world generator e.g. creating the better biomes and swamps?
     
  16. Offline

    Exanimo

    I created one using /gworld create and i found mines & swamps so i assume everything works like a charm.
    Just haven't found any villages yet so maybe thats standard disabled (and can't find where to turn it on in config) or i've just been unlucky.
     
  17. Offline

    Gurkengelee

    Thank you Exanimo! Maybe Engelier can make a comment about the missing villages?
     
  18. Offline

    Xehara

    How do I allow global permissions throughout all worlds? Old world is set up fine, but the new world I created for... a free for all build, I need to set up to allow the same permissions on.

    Got it figured out, nvm!

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

    paerole

    Hey, I'm having a problem since updating my bukkit build on my server. Whenever I try and use any of the xcraftgate commands it gives me a bukkit sad error message. This plugin was working fine before I changed my bukkit build, but now no matter what I do it gives me the same error messages over and over.

    I have tried using different bukkit builds, I have tried fresh installs of the xcraftgate plugin, I have restarted the server countless times in between the different changes I've made. Nothing is working. Anyone know what I can do to fix this?
     
  20. Offline

    Dakhar

    I'm having an issue wherein the original portal for a loop works fine as a destination, but the second looped portal (think a portal nexus area) either on an island in the sky, or even in a bedrock dungeon underground, always messes up. Every time I try to go to this nexus, the world nearby will load but the chunk immediately containing the portal will refuse to load - the entire vertical span of it simply doesn't appear. This results in being "stuck" in nothingness. Basically makes it impossible to create any kind of portal network. Not sure what the problem is.
     
  21. Offline

    Rwembee

    That means you don't have permission to use it.
     
  22. Offline

    TCLG6x6

    i tried to make a new gate after th 1.8.1 update i make /gworld to see the list of commands but it says this

    2011-09-24 06:54:06 [INFO] Bukkit sad. Bukkit want you to access command, but Bukkit cannot let you. Bukkit will leak tears :'(

    im admin on this server
     
  23. Offline

    paerole

    No, I am the admin and owner of the server, I set it all up myself and have configured my xcraftgate permissions properly. They worked perfectly fine before the update. It's something else and I can't figure it out.
     
  24. Offline

    Noucki

    I've got the same problem. I'm OP and Bukkit doesn't let me use this plugin ...
     
  25. Offline

    rcth

    Code:
    12:28:18 [INFO] [XcraftGate v0.9.1] by Engelier loaded.
    12:28:18 [INFO] [XcraftGate v0.9.1] loaded 1 world configurations
    12:28:18 [SEVERE] java.lang.NullPointerException
    12:28:18 [SEVERE]       at de.xcraft.engelier.XcraftGate.SetGate.load(SetGate.ja
    va:37)
    12:28:18 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGate.onEnable(Xcr
    aftGate.java:131)
    12:28:18 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    12:28:18 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:920)
    12:28:18 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:278)
    12:28:18 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:173)
    12:28:18 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:156)
    12:28:18 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:104)
    12:28:18 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:52)
    12:28:18 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:136)
    12:28:18 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:348)
    12:28:18 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:417)
    12:28:18 [INFO] [XcraftGate v0.9.1] loaded 0 gates
    12:28:18 [INFO] Preparing level "world"
    12:28:18 [INFO] Default game type: 0
    12:28:18 [INFO] Preparing start region for level 0 (Seed: -1808733147391496095)
    12:28:19 [INFO] Preparing spawn area: 77%
    12:28:20 [INFO] [XcraftGate v0.9.1] World 'world' detected. Applying config.
    12:28:22 [INFO] [XcraftGate v0.9.1] loaded 0 gates for world 'world'
    
    Craftbukkit #1185
     
  26. Offline

    Yurikoma

    i am completely up to date as i only started using plugin with my server yesterday, and im loving this plugin. never been easier to get around. thanks for a great plug in. only thing that could make it any better is if it could teleport minecarts u are riding with u if you go on a portal, probaly can't be done but would be awesome
     
  27. Offline

    Piotr

    @rcth I got the same error.
     
  28. Offline

    Yurikoma

    Found a bug with /gworld allowmonsters <worldname> <false>.

    some reason after doing this command if i try to place a block (i was using sand blocks) by using right click it places the block then removes itself and the block i put it on. even if i change it to true again this stays active until i reset the server

     
  29. Offline

    duhfux

    can this plugin be used to switch a players game mode upon warping to certain worlds? can it be a future feature, or is anyone aware of another plugin which handles this?

    cheers.
     
  30. Offline

    Pentalive

    Help - I am taking damage when I arrive!

    I am using the latest version with craftbukkit 1185 (for Minecraft 1.8 ) and when I arrive at my "Grand Central Station" the chunk right under me fails to load, I usually just hop about until I exit and re-enter the server, but now it seems I
    am actually falling and taking some sort of damage (probably rock poisoning from materializing inside of the rock below the gate (ie suffocation ))

    Hmm, I seem to be having the same problem as davig019... Let me try "Banannachunk"
     
  31. Offline

    Rwembee


    Have you tried going to another world and coming back? I was having the same trouble with settime.
    Check out worldmode by sunkid
     

Share This Page