Inactive [RPG] Death and Rebirth v2.6.1 - Death like in MMOs [Spout] [1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by muCkk, Aug 10, 2011.

  1. Offline

    muCkk

    Death and Rebirth moved to DevBukkit. This Thread is not updated anymore. Of course you can still post here, but I recommend to use DevBukkit.




    [​IMG]

    Old Thread (open)

    Death and Rebirth: v2.3.6
    Players die like in most MMORPGs and need to be resurrected.​

    !! If you update to v2.3.x use '/shrine update <shrine>' to update each shrine !!
    Download Github : Netload
    Source Github
    After installation you have to activate the plugin using /dar enable <yourWorld>.​
    Language files (open)

    If you translate them in your language please contact me so i can add them here. Thanks :).​
    Rename the file to "message.yml" and put it in /plugins/Death and Rebirth/​
    Additional info on editing:
    • never use tabs in yml (yaml) files
    • use UTF-8 encoding if you have special character like ä, é or something like that.
    Installation (open)

    1. Put the DeathAndRebirth.jar in you plugins folder.
    2. After you start the server the plugin will create all necessary files.
    3. You may now want to edit the config. An explanation of all variables can be found below or directly in the config file.
    4. Activate the plugin for each world using /dar enable <world>.
    5. Deactivate spawning features form other plugins (i.e. MyHome: Spawn at home).
    6. If you use Permissions give normal users 'dar.res' and admins 'dar.admin'. Special nodes are 'dar.ignore' and 'dar.nodrops'. If admins have the '*' node you may want to remove nodrop or ignore for them like this:

      Code:
      groups:
                            admins:
                                default: false
                                build: true
                                permissions:
                                    - '*'
                                    - '-dar.ignore'
                                    - '-dar.nodrop'
    7. Done :)!

    Features:
    • If a player dies he becomes a ghost
    • Ghosts can't use chests and furnaces and can't pickup items
    • ... are ignored by monsters
    • ... don't take damage
    • ... are not involved in pvp
    • ... can't interact with blocks (except doors, levers and buttons)
    • Ghost names ("Ghost of <Playername>")
    • Grave-signs
    • Dropping system
    • Shrines: get near a shrine to resurrect yourself and right click it to bind your soul
    • Resurrection through other players
    • Automatic version check on join (for Ops)
    • Skins, sounds and the colors of the gohst-sky are editable (using Spout)
    • Multi-language support
    • Supported by CraftBukkitUpToDate (Thanks!)
    • Supporting:
      • Permissions
      • Spout
      • NoCheat (see fly mode for additional infos)
    How to create shrines:
    A tutorial in french from JeasonP (Merci! :))

    Informations:
    • Ghosts: When a player dies he becomes a ghost and will respawn at his location of death. A lightning effect will appear on death and on rebirth (can be turned off). The location will be marked with a sign saying "R.I.P <Playername>". The player gets a new name: "Ghost of <Playername>". Ghosts are ignored by monsters, get no damage and are excluded from PvP. In the config file can be choosen if they can use doors, levers and buttons, if they can fly or chat. Picking up items and using chests and furnaces is not possible for ghosts.
    • Dropping: You can decide if players will drop their items like normal or if the items disappear and the player gets them upon resurrection.
    • Flying (for ghosts): To fly you have to hold crouch and steer with the mouse. Walking is not necessary. Flying is disabled by default. Also the server has to enable the fly mode in the server.properties file. That's a problem, because cheaters will be able to abuse this. If you want to protect your server I recommend using NoCheat.
    • Shrines: Shrines can be used by players to resurrect themselves. Admins can turn anything into a shrine. Therefore you need to select an area (just like in WorldEdit) using the selection mode and a stick or your crosshair and commands. Left clicking with a stick will show admins the name of a shrine.
      There are two modes (shrine only on and off):
      1. on : Ghosts have to get to a shrine to use resurrection.
      2. off: Players can bind their souls to a shrine (right click) and use the resurrection command (/res) anywhere to get resurrected.
    • Resurrection: Players can resurrect others. In the configuration can be determined how close the player has to be and if he needs a special item which will be consumed.
      A player can resurrect himself by right clicking a shrine or using /reb near a shrine. If reverseSpawning is enabled the player will spawn at the shrine (or at the spawn if he didn't bind his soul) and resurrection is possible at his grave.
    • Multiworld: Death and Rebirth has to be enabled for each world separately.
    • Admins: have the possibility to change all options ingame. Ops can also use left clicking to get the name of a shrine.
    Behold! A bunch of spoilers:
    Videos and Screenshots (open)

    Version 2.0 with Spout


    Ghost Skin
    [​IMG]

    Version 1.1

    Commands (open)

    • /rebirth <player>
      Resurrects the specified player. If no player is mentioned the plugin tries to resurrect the commandsender himself. A player who wants to resurrect himself needs to stand on a shrine or his soul bound to one.

      Alias: /reb <player>
      Example: /reb muckk
      If you don't use Permissions everybody has access to this command.

    • /mygrave
      Tells the player where his grave is.

    • /shrine <add, list, rm, pos1, pos2, select, update> <name>
      • add <name>: Adds a new shrine to the world.
      • rm <name>: Removes the shrine (but not the blocks!).
      • list: Shows a list of all shrines.
      • pos1: Selects the first position for a cuboid selection.
      • pos2: Selects the second position.
      • select: Turns the selection mode on and off. You can now use a stick to make a cuboid selection. Left clicking selects position 1, right clicking position 2.
      • update <name>: Turns a shrine from version 2.x to a shrine from version 2.3.

    • /dar <reb, reload, enable, disable, world, fly, shrinemode, ghostinteraction, ghostchat, dropping, versionCheck, lightningD, lightninR, signs, spawn, pvpDrop> <shrine/player>
      • reb <player>: Resurrects the player.
      • reload: Reloads all config files (includes config, shrines, ghosts and graves)
      • enable <world>: Enables Death & Rebirth in that world
      • disable<world>: Disables Death & Rebirth in that world
      • world: Gives you the name of your current world
      • fly: Toggles flying for ghosts on and off
      • shrinemode: If enabled ghosts have to get to a shrine to be resurrected.
      • ghostinteraction: If this is true ghosts can't use doors, buttons and levers.
      • ghostchat: Toggles if ghosts are allowed to chat.
      • dropping: Toggles if players will drop their items upon death
      • versionCheck: Toggles the version checking.
      • lightningD: Toggles the lightning effect on death.
      • lightningR: Toggles the lightning effect on rebirth.
      • signs: If disabled there won't be signs at the grave of a player.
      • spawn: Toggles reverseSpawning (see config).
      • pvpDrop: toggles PvPDrop (see config).
      Examples:
      /dar add MyFirstShrine
      /dar list
      /dar enable myWorld
      If you don't use Permissions only OPs can use this command.
    Config (open)

    You will find the config.txt in /plugins/Death and Rebirth/ after a server restart.
    • amount: Amount needed of that item to reserruct someone. Default is 1.
    • blockGhostInteraction: If set to true ghosts can't use doors, buttons and levers. Default false.
    • distance: Maximal distance to the dead player. Default is 10 blocks.
    • dropping: true: players drop their items upon death. false: players don't drop items and receive them after resurrection.
    • fly: Defines if ghosts can fly. Default false.
    • ghostChat: Enables or disables if ghosts can chat. Default true.
    • ghostName: Sets the name of ghosts. Use %player% for the Playername.
    • ghostPermissionsGroup: Without function at the moment. Ignore this.
    • graveSigns: Toggles if a sign is place upon death.
    • lightningOnDeath: Turns the lightning effect on death on/off.
    • lightningOnRebirth: Turns the lightning effect on rebirth on/off.
    • needItem: Defines if an item is needed to resurrect players. This option can be true or false. Default is false.
    • itemID: The id of the item which will be consumed. You can find a list here. Default is feather (288).
    • pvpDrop: If this is enabled players will drop one random item if they are killed by a player. This option overrides 'dropping'.
    • reverseSpawning: If set to true the player will spawn at his shrine and has to resurrect at his corpse.
    • shrineRadius: Radius of shriens. Default 3.
    • shrineOnly: If set to true dead players have to walk to a shrine. Default false.
    • versionCheck: Turns checking for a new version on/off.
    • 'worldName': Defines if Death & Rebirth is activated for this world. Can be true or false, default false.

      (Use a backslash before colons in URLs!)
    • ghostSkin: Url to the skin used for ghosts.
    • deathSound: Url to the sound played on death.
    • resSound: Url to the sound played on resurrection.

    • changeColors: Toggles if the colors get changed.
    • ghostSky, ghostFog, ghostClouds, normalSky, normalFog, normalClouds:
      The colors for the sky when using spout. Colors are defined using RGB values from 0 to 1. So 1;1;1 would be white, 1;0;0 would be red. Separate the values with ';'.

      Do not touch these options, they are set automatically:
    • citizens: true if the server runs citizens.
    • nocheat: true if the server runs nocheat
    Permissions (open)

    • dar.res: Needed for /reb command
    • dar.ignore: Players with this node are ignored by the plugin.
    • dar.nodrop: The drops will be saved and the player gets them on rebirth.
    • dar.admin: Gives access to all /dar commands
    If you give admins the '*' node, you maybe have to exclude dar.ignore and/or dar.nodrop for them. It should look like this:
    Code:
    groups:
        admins:
            default: false
            build: true
            permissions:
                - '*'
                - '-dar.ignore'
                - '-dar.nodrop'
    Spout (open)

    Spout is not required to use this plugin but if you want to use this plugin to it's full extent you may want to install Spout (Server and Client).
    • Dead players have a ghost model
    • Sound effects
    • Notifications (achievement-like) instead of chat messages
    • Ghosts get a different sky color.
    Known Bugs (open)

    • MyHome can't be overriden. Deactivate 'respawnToHome' in its config. This also applies to other plugins which influence spawning. Essentials and Commandbook are working without changes.
    • With Spout: If you have been a ghost the clouds will glow at night. The only way to prevent that is by turning of this feature (changeColors=false in the config).
    Changelog (open)

    Version 2.3.6
    • players can now unbind their souls
    • if reverse spawning is enabled: players will spawn at the nearest shrine if their soul is not bound anywhere instead of spawning at the spawn point
    • grave signs are now removed properly (half steps etc. wont get destroyed)
    • fly speed of ghosts is now configurable. the default value was redruced
    • new option: pvpdrop. if it's enabled a player will drop one random item if another player kills him. this overrides the dropping option
    • soulbinding can now be turned off for each shrine individually (toggle: /shrine binding name). resurrection is always possible
    • if ghostName ist left blank in the config, it's handled like it's disabled buggy
    • added new messages
    • fixed nodrop: items are now saved in a file and will be regained even if the server crashes or restarts without stopping
    • fixed displayname/title(spout) related problems. if you have custom names they should reset properly now
    • fixed resetting sky colors
    Version 2.3.5
    • added support for build in permissions system of bukkit. as a consequence, nocheat will prevent the flymode
    • added a reverse-spawning option
    • added an option to disable signs
    • new messages (for you translators out there)
    • spout name and skin is saved and restored after rebirth (e.g.if you use playereditor)
    • added permission node "dar.nodrop"
    • fixed lightning toggles
    • fixed self-rebirth
    • fixed bug on killing someone with a command
    • fixed onDisable not working properly
    • fixed /dar not working in the console
    Version 2.3.4
    • fixed: message bug
    • fixed: "Could not pass event ENTITY_DAMAGE" bug
    • fixed: permissions bug (dar.res not working properly)
    Version 2.3.3


    • CraftBukkitUpToDate support
    • new messages
    • if dropping is disabled all ghosts get their items back on server shutdown (else they would be lost)
    • fixed checking of amount not working properly
    • fixed message bug with spout
    • fixed a bug causing an error while adding shrines
    • fixed a bug where ghosts could attack with a bow
    Version 2.3.2


    • fixed crashing when running spout
    • fixed ghost toggle message
    • fixed reload not working
    • fixed checking of citizens and nocheat
    Version 2.3.1 (mirror)


    • fixed /shrine select not working correctly
    • admins now need to click with a stick to get a shrines name
    Version 2.3 (mirror)


    • new command: /shrine
    • new shrine system
    • new command: /mygrave
    • multi-language support
    • different sky color for ghosts (configurable)
    • lightning effect on death and on rebirth (configurable)
    • new permissions node: dar.ignore
    • shrine radius is now configurable
    • config gets saved on changes (to prevent damages on crashes)
    • D&R is now saver against the influence of other plugins (for example: EssentialsSpawn, AdminCMD, Towny)
    • players don't become ghosts if they die in the void
    • fixed grave bug (grave-signs lost the inscription)
    • fixed skin bug (no change on death)
    • rewritten message code (for multi-language support)
    • cleaned up the code a bit
    Version 2.2 (mirror)


    • works with bukkit #1060
    • code improvements (messages and shrines)
    • dar-command now works in the console
    • res is now reb to prevent problems with Towny
    • added automatic version check
    • added NoCheat support
    • skins and sounds are now changeable in the config
    • slabs and wool will be now resetted correctly when using /dar rm
    • added the possibility to left-click shrines for ops which will return the name of the shrine
    • added dropping system
    Version 2.1


    • shrines are now save from explosions
    • flying for ghosts
    • NPCs from citizens are ignored
    • new configuration options (fly, ghost interaction, shrine mode, ghost chat)
    • bugfix: no chat messages were displayed
    Version 2.0


    • added Spout and multiworld support
    • Permissions is no longer needed (but still supported)
    • Changed /shrine to /dar and added new arguments
    • Bugfixes
    Version 1.1
    • Players can now bin their souls by right clicking a shrine. /res will then work everywhere and teleport them to the shrine (if they are dead)
    • Ghosts can't be attacked by players and players not by ghosts
    • Ghosts can't interact with blocks (they are still able to use doors, buttons and levers)
    Version 1.0


    • first release
    Ressources I used (open)

    Read this if you update from 1.x to 2.x !! (open)

    Unfortunately i broke your shrines. Sorry =).
    That was necessary to add the multiworld support.
    There are two ways to fix this:

    1. Delete the shrines.yml located in \plugins\Death and Rebirth\data
    and add your shrines again to the world.

    2. Edit the shrines.yml and add the world name like this:


    Before (v1.1):
    Code:
    shrines:
        test:
            originalids:
                '3': 0
                '2': 0
                '10': 1
                '1': 0
                '0': 1
                '7': 1
                '6': 1
                '5': 1
                '4': 1
                '9': 1
                '8': 1
                '11': 1
            min:
                z: 101
                y: 63
                x: -45
            max:
                z: 103
                y: 66
                x: -43
            tb:
                z: 102
                y: 63
                x: -44
    After (v2.0):
    Code:
    shrines:
        yourWorldName:
            test:
                originalids:
                    '3': 0
                    '2': 0
                    '10': 1
                    '1': 0
                    '0': 1
                    '7': 1
                    '6': 1
                    '5': 1
                    '4': 1
                    '9': 1
                    '8': 1
                    '11': 1
                min:
                    z: 101
                    y: 63
                    x: -45
                max:
                    z: 103
                    y: 66
                    x: -43
                tb:
                    z: 102
                    y: 63
                    x: -44
    As you can see all you have to do is add the name of your world to it. It's important that the beginning of the worldname is between "shrines" and the name of the first shrine in the list.

    When you are finished check the yml with the Online YAML Parser.

     
    nazhrenn, JonasD and kahlilnc like this.
  2. Offline

    mtbnunu

    Hello
    I came up with more suggestions as i was trying out the plugin.
    hopefully they encourage you rather than bother you.

    • can you make the ghost spawn "exactly" where you die? that is, same place as the sign
    • can you change the view-distance of ghost to "tiny" and back to whatever they were using when they reb? (im only asking since you're already using spout :D. plugins like SpoutEssentials support changing-view-distance feature)
    • add option to change the texture-pack while you're a ghost? (again, spout support! :DD) - even better will be user-chosen texture pack normally, and forced texturepack while ghost.
    • add a commandless way to /reb to assigned shrine (i think maybe giving the ghost one consumable item and if the ghost eats it, he /rebs back to assigned shrine)
    • customizable ghost names
    • when ghost try to talk, he mumbles out weird sound instead. (either typed or sound-effect)
    • optional lightening-effect when player dies and ghost rises.
    • maybe option to use different ghost skins depending on reason he died. (not as important but i think it might be fun) - DeathMessagePlugin can detect how you died.
    • oh and for the blocked-commands, i've seen the feature in WorldGuard and MobArena if that helps.

    ahh please don't take offence becasue i threw you a bunch of suggestions.
    just trying to help make the plugin better! :D
     
  3. Offline

    MisanthropX

    I begin to love this plugin.

    Thanks a lot for the implication of what happens with the inventory :>
    Do you think a custom block layout for shrines is possible?
     
  4. Offline

    muCkk

    @mtbnunu suggestions are always welcome, thanks :).
    @MisanthropX thanks :). i want custom shrines too. don't know yet how i realize it, but it's possible.
     
  5. Offline

    Ranzear

    1060, DAR 2.2, Dev Spout. Enabled DAR for my world, already had shrine set I guess. Rocketed myself with console, walked to shrine to /reb. Got this:

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'reb' in plugin Death and Rebirth v2.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        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:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at org.bukkit.util.config.ConfigurationNode.removeProperty(ConfigurationNode.java:576)
        at muCkk.DeathAndRebirth.DARGraves.deleteGrave(DARGraves.java:57)
        at muCkk.DeathAndRebirth.DARHandler.resurrect(DARHandler.java:199)
        at muCkk.DeathAndRebirth.DAR.onCommand(DAR.java:165)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 13 more
    
    Revived me, but didn't reset display name or skin.

    Works fine after deleting and replacing shrine. Might have been because I renamed the world.

    Small suggestion: Make the radius of a shrine configurable. Having to practically leghump the thing to /rebirth is...
     
  6. Offline

    BioRage

    Awesome, testing it now! @muCkk

    Suggestion:
    1- With Spout: Above our name Can you add "Ghost of +User Name+"
    2- Make Shrine Configurable, instead of how it looks now (Block changes / styles?)
    3- Have a message broadcast to user "Configurable"


    So we've been getting some problem.
    - Res isn't working, /res isn't a notified command says <help>
    http://dl.dropbox.com/u/11333268/config.txt

    biorage:
    permissions:
    dar.admin: true
    groups:
    - admin
     
  7. Offline

    Ranzear

  8. Offline

    mtbnunu

    i've tried customizing the wav files and the skin file, but it looks like it doesnt do anything...
    i changed the address in config, but still getting same old soundeffect/skin.
    is this a bug?
     
  9. Offline

    MisanthropX

    @muCkk About the custom shrine.
    I have ideas for some possibilities, maybe it gives you an idea of how it could work.

    1. The Config reading way - undynamic.

    Setting a 3D object ID by ID via config could be:
    a. easy to configure.
    b. too much information stored in the config.
    c. difficult to read out of the soup of IDs.
    d. undynamic because you have to change every single ID - the more layers the more complicated.

    Example:

    Code:
    #Ids are seperated by "," lines are seperated by ";" (if really needed to do so)
    customshrine:
      layers:
        1: 49, 49, 49;
            49, 49, 49;
            49, 49, 49
        2: 0, 0, 0;
            0, 89, 0;
            0, 0, 0
        3: 0, 0, 0;
            0, 89, 0;
            0, 0, 0
        4: 0, 0, 0;
            0, 89, 0;
            0, 0, 0
    2. The Config reading way - Building algorithm - dynamic.

    Setting a 3D object via basic building algorithms
    a. maybe more difficult to configure.
    b. less information stored in the config
    c. maybe wasted time to code such an algorithm to read out of the config and transform it into a 3D object
    d. maybe memory hungry.

    Example:

    Code:
    #Ids are seperated by "," lines are seperated by ";" (if really needed to do so)
    customshrine:
      group1:
        material: 49
        drawcoordinates: 0, 0, 0 #x,y,z
        length: 3
        width: 3
        height: 1  #or to shorten it: drawsizes: length, width, height.
      group2:
        material: 49
        drawcoordinates: 2, 1, 2
        #2 to draw in the middle, 1 to draw 1 above the previous built object
        #if y coord is set to 0 it would replace the Obsidian block in the middle
        length: 1
        width: 1
        height: 3
    
    
    
    3. The ingame Worldedit-like way.


    Setting a 3D object by setting via ingametools,
    eg left and right click to set coordinates and acquire one building as shrine.
    a. easy to access
    b. no config needed for shrines
    c. worldedit is no open source project I think, so its maybe hard to think about a way to code that thing.
    But I think there is a modding API from worldedit to access it.

    Example:

    building the desired object.
    left click one corner, right click the other one.
    type some command, maybe /createshrine <name> <use>
    tada! - done.

    what I meant with "use" is that maybe some buildings are not that magically strong as others..

    for example: if I get revived by a shrine within a cathedral, it has maybe more magical power.
    this could be use to retrieve only a custom percentage amount of the inventory back again.
    Or.. that you are still a ghost and need to regenerate from death with a time limit after reaching the shrine.
    there are lots of ideas which pops in my mind when thinking about features for this wonderful plugin.

    I hope I helped with finding a way to do that.
    thanks for the good work.
     
  10. Offline

    mtbnunu

    ah and we definitly need a safe-zone where we can die and spawn normally.. either with worldguard or by its own.
    necessary for arena-plugins or stuff like that..
    EDIT: oh and also a permission node to die normally would help too.. for "special people"
     
  11. Offline

    muCkk

    @Ranzear that error appeared because you renamed your world. the plugin tried to delete a grave in that world and didn't found one.
    @BioRage all your suggestions will be included in the next version. /res isn't working because it was replaced by /reb ;).
    the name should be changed like you described. is that not working?
    @mtbnunu that's a bug and should be fixed in the next version.
    i don't know if i'll add a safe zone soone (or ever). an easy way would be to put a shrine next to the arena. the new node will be added.
    @MisanthropX big thanks! i guess the best way is to add a worldedit-like way of selecting an area and make it to a shrine. that way shrines can look like what ever you want them to.
     
  12. Offline

    BioRage

    My friend is still learning the server world, so maybe he didn't do something correct, hard to see when you don't have access :)

    However, I beleive the probelm might of been /reb and that of the permissions was outdated (on his side)

    Thanks for the reply! Look forward to updates, this plugin is awesomely fun! ^.^ b
     
  13. Offline

    muCkk

    Version 2.3
    • new command: /shrine
    • new shrine system
    • new command: /mygrave
    • multi-language support
    • different sky color for ghosts (configurable)
    • lightning effect on death and on rebirth (configurable)
    • new permissions node: dar.ignore
    • shrine radius is now configurable
    • config gets saved on changes (to prevent damages on crashes)
    • D&R is now saver against the influence of other plugins (for example: EssentialsSpawn, AdminCMD, Towny)
    • players don't become ghosts if they die in the void
    • fixed grave bug (grave-signs lost the inscription)
    • fixed skin bug (no change on death)
    • rewritten message code (for multi-language support)
    • cleaned up the code a bit
    edit: Verson 2.3.1
    • fixed /shrine select not working correctly
    • admins now need to click with a stick to get a shrines name
     
  14. Offline

    Ahniolator

    Ever since updating to v2.3.1, I keep getting a "[SEVERE] Could not pass event ENTITY_DEATH to Death and Rebirth]"

    Not sure why this is showing up if it worked just fine before.

    Edit: Also, whenever Spout is enabled and users are not using Spout, it throws an Internal Error client-side "Bad Packet: 195"
     
  15. Offline

    muCkk

    @Ahniolator hum, i get no error. can you post the complete error message please?
     
  16. Offline

    Lextao

    YAAAAAYYYYY FOR MULTILANGUAGE!!
    Uploading the spanish files soon! :p
     
  17. Offline

    muCkk

    @Lextao :D. thanks in advance!

    btw: i found a little bug. if you toggle the ghost chat you get the "ghosts cant chat" message - but it still says enabled/disabled, so it works, just gives the wrong message.
     
  18. Offline

    Lextao

    Oh god, Messages.yml is empty wtf D:
     
  19. Offline

    muCkk

    a message.yml is not required, the english version is included in the jar (hardcoded). it's optional to add other languages, but you can get the english messages.yml in the first post
     
  20. Offline

    Ahniolator

    @muCkk For some reason, it's not letting me copy from the log. I'll post a screenshot of the console/client/config all at once with the errors showing in a minute.

    [​IMG]

    Full config:

    Show Spoiler

    Code:
    # __________ INFORMATIONS __________
    #
    # __________ Basic Options __________
    # amount: Amount needed of that item to reserruct.
    # blockGhostInteraction: (true/false) If set to true ghosts can't use doors, buttons and levers.
    # distance: Maximal distance to the dead player.
    # dropping: (true/false) True: players drop their items upon death. False: players don't drop items and receive them after resurrection.
    # fly: (true/false) Defines if ghosts can fly.
    # ghostChat: (true/false) Enables or disables if ghosts can chat.
    # ghostName: Edit how the playername will be displayed. User %player% for the original playername.
    # lightningOnDeath: (true/false) Toggles lightning on death.
    # lightningOnRebirth: (true/false) Toggles lightning on rebirth.
    # needItem: (true/false) Defines if an item is needed to resurrect players.
    # itemID: ID of the item which will be consumed.
    # shrineRadius: Radius of shriens. Default 3.
    # shrineOnly: (true/false) If set to true dead players have to walk to a shrine. Deactivates soul binding.
    # versionCheck: (true/false) Checks for updates and sends OPs a message on join.
    # worldName: (true/false) Switch Death and Rebirth on and off for each world.
    #
    # __________ Skin & Sounds __________
    # Colons have a leading backslash! Example: http\:www.foo.com/bar.png
    # ghostSkin: URL to the skin used for ghosts. Defaults:
    # Preview 1: http://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/skins/ghost1_preview.png
    # http://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/skins/ghost1.png
    # Preview 2: http://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/skins/ghost2_preview.png
    # http\://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/skins/ghost2.png
    # deathSound: URL to the sound played on death. Default:
    # http://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/sounds/death.wav
    # resSound: URL to the sound played on resurrection.Default:
    # http://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/sounds/res.wav
    #
    # __________ Colors __________
    # Colors are defined using RGB values from 0 to 1. So 1;1;1 would be white, 1;0;0 would be red. Separate the values with ;
    # changeColors: (true/false) Defines if the colors will get changed for ghosts. Default true.
    # Defaults:
    # ghostSky: 0.8;0;0
    # ghostFog: 0.8;0;0
    # ghostClouds: 0;0;0
    # normalSky: 0.66;0.8;1
    # normalFog: 0.66;0.8;1
    # normalClouds: 1;1;1
    #
    # __________ Do not edit following settings __________
    # citizens: (true/false) This option is checked automatically and is set to true if you use Citizens.
    # noCheat: (true/false) This option is checked automatically and is set to true if you use NoCheat.
    #
    #
    #
    #
    # __________ EDITABLE OPTIONS BELOW THIS LINE __________
    #Fri Aug 19 17:00:37 PDT 2011
    normalSky=0.66;0.8;1
    needItem=true
    itemID=352
    distance=7
    normalClouds=1;1;1
    citizens=false
    lightningOnRebirth=true
    noCheat=false
    blockGhostInteraction=false
    ghostSky=0.8;0;0
    amount=1
    resSound=http\://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/sounds/res.wav
    dropping=true
    spout=true
    lightningOnDeath=false
    shrineRadius=5
    ghostSkin=http\://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/skins/ghost1.png
    pvpsurvivalworld=true
    versionCheck=true
    ghostChat=true
    normalFog=0.66;0.8;1
    fly=true
    ghostClouds=0;0;0
    ghostName=Ghost of %player%
    shrineOnly=true
    ghostFog=0.8;0;0
    changeColors=true
    deathSound=http\://dl.dropbox.com/u/12769915/minecraft/plugins/DAR/sounds/death.wav
    


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

    muCkk

    @Ahniolator thanks for posting that. now i need to know which versions of bukkit, spout server and spout client you are using

    edit: ah, which plugin provides the /suicide command?
     
  22. Offline

    Lextao

    Good and bad news:
    Finished the language file, everything ok.

    When I die in-game i get this:
    Show Spoiler

    2011-08-19 19:15:32 [SEVERE] Could not pass event ENTITY_DEATH to Death and Rebirth
    java.lang.NoClassDefFoundError: com/citizens/npcs/NPCManager
    at muCkk.DeathAndRebirth.listener.DAREntityListener.checkForNPC(DAREntityListener.java:164)
    at muCkk.DeathAndRebirth.listener.DAREntityListener.onEntityDeath(DAREntityListener.java:59)
    at org.bukkit.plugin.java.JavaPluginLoader$60.execute(JavaPluginLoader.java:663)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:142)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:441)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:180)
    at net.minecraft.server.EntityLiving.a(EntityLiving.java:489)
    at net.minecraft.server.EntityHuman.a(EntityHuman.java:871)
    at net.minecraft.server.Entity.a(Entity.java:635)
    at net.minecraft.server.EntityPlayer.b(EntityPlayer.java:360)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:363)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:528)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.citizens.npcs.NPCManager
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 23 more

    I don't know if it has anything to do with Citizens, but i uninstalled Citizens a couple of days ago :S
     
  23. Offline

    Ahniolator

    @muCkk The /suicide command is from Essentials.

    The server is running "Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC:1.7.3)" which I believe is the latest build. (1060)

    It is also running Spout server 1.0.2.134, and the bad packet error was a vanilla client

    @Lextao The error you are getting is related to Citizens somehow. Check the DaR config to make sure that the Citizens option is disabled if you are no longer running Citizens. (Just a guess)

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

    muCkk

    that is a little bug. you have to manually delete "citizens=true" in the config (after shutting the server down). just erase the whole line, then start it again. that will fix that.
     
  25. Offline

    evilMonkey

    Suggestion:

    Quit using numbers on your *.jar file and get added to CraftBukkituptoDate because you seem to do a lot of updates.
     
  26. Offline

    muCkk

    sorry for the amount of updates of 2.3. i try not to repeat that.

    Version 2.3.2
    • fixed crashing when running spout
    • fixed ghost toggle message
    • fixed reload not working
    • fixed checking of citizens and nocheat
    that should be fixed with 2.3.2
    thanks for reporting that
    i will do that :).
     
  27. Offline

    Lextao

    Thanks to you sir :3
    And... As promised, here is the spanish translation!

    And Oh, I found a little bug: Apparently you can kills mobs while being dead with a bow.
    That's all for now! :p
     

    Attached Files:

  28. Offline

    Ahniolator

    Thanks for the update!

    Edit: It worked for one "rebirth" and now the console is throwing "[SEVERE] Could not pass event ENTITY_DEATH to Death and Rebirth" every time someone dies. Not sure what's going on here either.
     
  29. Offline

    BioRage

  30. Offline

    muCkk

    can you post the console output again? do they die naturally or did you test it with commands?
    most plugins set the health of a player to 0 to let him die. that causes problems like that.
    found the bug which is causing that error. but it should only appear if you didn't select an area which you want to be a shrine. use /shrine select to turn the selection mode on, then use a stick to select a cuboid area (left and right click) OR use /shrine pos1 and /shrine pos2 to select it with your crosshair.
     
  31. Offline

    Veteranspy

    Does it really make the items disappear? If so I would love to use this.
     

Share This Page