Inactive [CHAT] iChat 2.4.4 - Custom Chat Formatting [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Drakia, Feb 24, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Drakia

    iChat 2.x - Custom Chat Formatting
    Version: 2.4.4
    CraftBukkit: 1337

    Plugin Support:
    PermissionsBukkit
    bPermissions
    Permissions 2.x
    Permissions 3.x

    If you are requesting help, post your entire server log (From the time it opens, until somebody talks), your entire Permission config file (As well as what it's named), and iChat config files. This information is REQUIRED for me to help you.
    http://pastebin.com/ <-- Post configs there when asking for help

    =============
    Description
    =============
    Custom chat formatting.
    Based on the idea of iChat v1.5 by Nijikokun.
    Includes code and concepts from mChat by MiracleM4n <https://github.com/MiracleM4n/mChat/>

    Before downloading: iChat 2.4.x has quite a few changes over the 2.3.x branches. All permissions plugins are handled in one plugin, and they all operate in relatively the same way now. This means you WILL need to redo your configs.
    Download (Direct JAR): http://thedgtl.net/bukkit/iChat.jar
    Source: https://github.com/TheDgtl/iChat

    =============
    Features
    =============
    Supports Permissions (Both 2.0 and 2.1), and SuperPerms handlers (PermissionsBukkit, bPermissions, and PermissionsEx).
    Allows you to specify a prefix/suffix/variable for users and groups on a per-world or global basis.
    A user-specific prefix/suffix/variable will take priority over a group prefix/suffix/variable, a world-based prefix/suffix/variable will take priority over a global prefix/suffix/variable.
    Unlimited amount of custom variables for use in chat format.
    Colors are supported in all parts of the formatting and chat text.
    Usable health bar and health amount in the formatting.
    Support for formatting of /me

    =============
    Formatting
    =============
    Message formatting is defined in the file plugins/iChat/config.yml
    The message formats can contain characters, color codes, and variables.
    To use colors use the standard Minecraft color codes found here: http://www.minecraftwiki.net/wiki/Classic_Server_Protocol#Color_Codes

    Available variables:
    +prefix - The prefix for this user, or this users group if they don't have one defined.
    +suffix - The suffix for this user, or this users group if they don't have one defined.
    +name - The users name
    +displayname - The users display name (Set by plugins such as Towny)
    +iname - The iChat formatted player name (Defined by iname-format)
    +group - The users group
    +healthbar - A visual health bar for this user
    +health - The users current health value (Between 0 and 20)
    +message - The message the player typed
    +world - What world the player is currently in
    +time - Timestamp, configurable in config.yml. Uses the format for SimpleDateFormat - http://bit.ly/dscw40

    Example (Default):
    Code:
    iname-format: '[+prefix+group+suffix&f] +displayname'
    message-format: '+iname: +message'
    me-format: '* +name +message'
    date-format: 'HH:mm:ss'
    handle-me: true
    Example date-format (Default):
    date-format: 'HH:mm:ss'

    As of iChat 2.4.0 there have been a few changes in the way variables and groups are handled.

    ==========
    Groups
    ==========
    As of iChat 2.4.3 native groups are supported in Permissions 2.x/3.x, PermissionsBukkit, bPermissions, and PermissionsEx.

    ==========
    Variables
    ==========
    Variables are now defined in variables.yml in the iChat directory. This includes prefixes, suffixes, and custom variables.
    You can define an unlimited number of custom variables for groups and users, if these variables contain the static variables such as +prefix,
    +suffix, +health, etc then those variables will be replaced with their respective values.
    If a variable does not exist then it will be replaced with a blank string.

    As of iChat 2.4.4 you can now specify world-specific variables. To specify a per-world group or user variable (Prefix, suffix, or variable) you just specify it under the world as shown in the 'world' example in the default variables.yml below. Anything specified in the parent 'users' or 'groups' nodes will be considered global for all worlds.

    Default variables.yml:
    ---------------------
    Code:
    # iChat Variable Config
    # This is now the only method for defining variables
    users:
        Drakia:
            prefix: '&e'
    groups:
        Admin:
            prefix: '&c'
            suffix: ''
        Default:
            prefix: ''
            suffix: ''
    world:
      users:
        Drakia:
          prefix: '&a'
    Default config.yml:
    ---------------------
    Code:
    handle-me: true
    date-format: HH:mm:ss
    message-format: '+iname: +message'
    me-format: '* +name +message'
    iname-format: '[+prefix+group+suffix&f] +displayname'
    =============
    Examples
    =============
    To make a group colored:
    variables.yml:
    Code:
    groups:
        Default:
            prefix: '&4'
            suffix: ''
    config.yml:
    Code:
    message-format: '[+prefix+group&f] +name: +message'
    To make a single username colored:
    variables.yml:
    Code:
    users:
        Drakia:
            prefix: ''
            suffix: '&1'
    Config:
    Code:
    message-format: '[+prefix+group&f] +suffix+name&f: +message'
    As you can see, suffixes and prefixes can be used anywhere, in any combination. In this example we use prefix as a method for coloring group names, while suffix is used to color individual users. On our server we have prefixes such as "&f[&2Mod&f] " so that we can have custom tags per group instead of just the groups name. There is no end to the combination of things you can do, please TRY things before you come asking for someone else to do it for you. There are too many combinations of things for me to answer every question about how to color specific things.
    I will not be offering answers to questions such as "How do I color names?" or really anything else to do with specifics of formatting. It's pretty straightforward what you can do, and if you can't take the time to experiment then I'm not going to take the time to answer your questions.

    =============
    Configuration
    =============
    iname-format - The format used for +iname (Default: '[+prefix+group+suffix&f] +displayname')
    message-format - The format used for basic chat (Default: '+iname: +message')
    date-format - The format used for +date (Default: 'HH:mm:ss')
    me-format - The format used for /me commands (Default: '* +name +message')
    handle-me - Whether to handle /me commands (Default: true)

    =============
    Permissions
    =============
    ichat.color - Allow this group/user to use color in their chat messages.
    ichat.reload - Allow this group/user to use "/ichat reload"

    =============
    Commands
    =============
    /ichat reload - Reload the iChat config file

    =============
    F.A.Q.
    =============
    Q) Why is my custom message format not working? I just get the default output. Or output with no variables filled in.
    A) If you're using Permissions 2.1, make sure your Permissions config file is named "{worldname}.yml" where {worldname} is the name of your world. If you're using Permissions 2.0, make sure your Permissions config is named config.yml

    Q) How do I set the brackets color to the same as the group?
    A) Normally you have the brackets in the message-format variable, but you can just as easily move them into prefix/suffix and that way they can be per-group colored!

    Q) Why is my entire string colored? I just put a color code beside +name!
    A) A color code will persists until another color code is encountered, or the end of the line is reached. To change the line back to white use &f after the variable/string you want colored.

    Q) Why are my OPs names red?
    A) Essentials has this functionality built in. Change "ops-name-color" to 'none' in your Essentials config file.

    Q) Why does {PluginX} not work with iChat?
    A) There's a good chance it does, but you need to use +displayname instead of +name.

    Q) Why does Towny not work with iChat?
    A) iChat no longer uses %1$s for the player name, it uses player.getName() and player.getDisplayName(), until such a time that Towny is updated to use the proper method of setting a players name (Set their displayName) it will not work with iChat.

    =============
    Changes
    =============
    [Version 2.4.4]
    - Updated to new FileConfiguration class
    - Fixed bypass exploit for colors in messages
    - Multi-world support for variables.yml
    - Resolved an issue with /me not reloading player variables
    [Version 2.4.3]
    - Permissions overhaul. No longer require group.{name} node unless not using a permissions handler
    [Version 2.4.2]
    - Fixed issue with inheritance in Permissions
    - Implemented start of online time variable. Need output format.
    [Version 2.4.1]
    - Remove plugin-specific group referencing. All groups are now managed via group.* nodes,
    the exception being pure Permissions 2.x/3.x
    - Fixed /ichat reload not reloading variables.yml
    - Updated /me to use BroadcastMessage
    [Version 2.4.0-final]
    - Took out variable caching, there's no hook for PermissionChange.
    - Updated README to include info on group.* nodes
    [Version 2.4.0-beta]
    - Merged all branches into one
    - Supports Perms 2.x/3.x, SuperPerms, GroupManager
    - Added a more advanded API based on the mChat API
    - Massive thanks to MiracleM4n for code and concepts
    - All variables are now retrieved from variables.yml instead of Permissions
    - Removed censor code
    [Version 2.3.2-p3]
    - Set Permissions as a dependency in plugin.yml
    - Added Permissions 3 support to the -p3 jar
    [Version 2.3.1]
    - Added iChat.ichat.parseChat(Player, String, Format) API
    - Added hook for /me chat formatting using the "me-format" config option
    [Version 2.3.0]
    - Added external iChat.ichat.parseChat(Player, String) API
    [Version 2.2.3]
    - Added +displayname/+d for player.getDisplayName()
    [Version 2.2.2]
    - Updated to latest RB
    [Version 2.2.1]
    - Updated how Permissions is loaded
    [Version 2.2.0]
    - Added the ability to have an unlimited amount of variables in message-format
    - Changed versioning scheme
    [Version 2.11]
    - Now uses per-world permissions information
    [Version 2.10]
    - Allow admins to enable color on a permissions basis
    [Version 2.09]
    - Another small update to Permissions (Returned false when I should have returned true)
    [Version 2.08]
    - Pushes PacketCollisions PermVersion change. Fixes issues with 2.5.2
    [Version 2.07]
    - Added +time tag
    [Version 2.06]
    - Added +world tag
    [Version 2.05]
    - Ignore whether the plugin is GM, just treat everything as Permissions! Means you need FakePermissions.
    [Version 2.04]
    - Added the ability to use variables in the suffix and prefix (More customizeable messages)
    [Version 2.03]
    - Verify that all available variables aren't null before calling parse
    - Fixed crash caused by color code at end of message (Basic fix, added a space)
    [Version 2.02]
    - Fix for possible NPE
    [Version 2.01]
    - There's a bug in Permissions 2.1 in getPermissionString, switched to getUserPermissionString
    [Version 2.00]
    - Initial re-write of Niji's plugin.
    - Added Permissions 2.0/2.1, and GroupManager support.[/b]
     
    FFS2309, Lolmewn, wassilij and 12 others like this.
  2. Offline

    Drakia

    You have another plugin that is conflicting. Please post the output of "plugins" in the terminal.
     
  3. Offline

    Unscrewed

    Thanks! It worked. Sorry for being a bitch.
     
  4. Offline

    Drakia

    @Unscrewed You're missing : after player names. Use this website http://yaml-online-parser.appspot.com/ (Press Ctrl+Enter to parse) to fix the rest of your YML errors before asking for more help.

    @rmb938
    [Version 2.2.3]
    - Added +displayname/+d for player.getDisplayName()

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

    KidCanada

    I'm not sure why, but prefixes for individual users don't work.

    http://pastie.org/1777741


    That is just a few clips from my world.yml folder.

    Any suggestions?

    Here is a list of my plugins:
    Automessage
    BigBrother
    Essentials
    EssentialsSpawn
    HeroicDeath
    LWC
    LoginMessage
    MagicCarpet
    MakeEmSpawn
    Nethrar
    NoCheat
    SpawnMob
    Towny
    VoxelSniper
    Wolfpound
    Worldedit
    MCMMO
     
  6. Offline

    Allan kiser

    Very nice addon once you learn how to use it, just takes a bit of experimenting and you can do a lot of different things.

    KidCanada: If you want prefix make sure you put into the prefix category. I noticed you are using the suffix, Have you tried looking in the config file and making sure that the format is correct?
     
  7. Offline

    KidCanada

    I have tried both to no avail
     
  8. Offline

    Drakia

  9. Offline

    KidCanada

    I see that now but it seems that some plugin is automatically adding both of those, so it is not your fault.

    Now I gotta find the plugin.

    Thanks,
    KidCanada
     
  10. Offline

    rmb938

    Thanks for adding display name but sadly it is still not working with towny :(
     
  11. Offline

    Drakia

    @rmb938 I just looked at the code for Towny and it doesn't set displayname, it sets the chat format.
     
  12. Offline

    rmb938

    oh ok. Need to find a way around that then xD
     
  13. Offline

    tonihoks

    i set the group color and reload the server but the premission will change bach and my name is withe again
     
  14. Offline

    M0rti

    Stop the server ...change the color in permissions and start the server.
     
  15. Offline

    tonihoks

    i have done it but ist the same
     
  16. Offline

    Drakia

    @tonihoks Sounds like a Permissions problem, I'd ask over there. Also, when changing permissions, use the command "/permissions -reload all" instead of reloading the server.
     
  17. Offline

    A554551N

    How Do you colour usernames?
    I cant work it out....
     
  18. Offline

    Lhjnhnas

    Had you considered the copyright issues if you make profit based on this?

    iChat is the patented name of the inbuilt web messenger for mac.
     
  19. Offline

    Alex H

    HALP is there a MOTD in iChat and can i make it specific to groups in permissions?
     
  20. Offline

    jeffklam

    Is there any way to set the <*console*> text color? If not, can it be added?
     
  21. Offline

    burningacidsdk

    Heyo, some problem here ...
    i gotta Problem with my Message Formatting,
    Okay, me failed. Forget to set Show World Name Prefix in Mulitverse to "false" xDD

    Great Plugin !!!!




    The [Prefix] Name : Text is formatted right and the way it should.

    Unfortunately there is a white "[world]" or ["Utopia"] (Name of my Maps) right before the formattet text,
    i donĀ“t added +world before-

    Here is a screen
    Show Spoiler

    [​IMG]


    Here is my ichat config.yml

    Code:
    censor-list: []
    censor-color: '&f'
    date-format: HH:mm:ss
    message-format: '+prefix +name: +message'
    censor-char: '*'
    censor-string-color: '&f'
    censor-colored: false
    
    and here my Permissions

    Code:
    plugin:
        permissions:
            system: default
            copies: world,Nether,Utopia
    groups:
        User:
            default: true
            info:
                prefix: '&f'
                suffix: '&f'
                build: true
            inheritance: null
            permissions:
            - herochat.create
            - mcmmo.motd
            - mcmmo.chat.partychat
            - mcmmo.commands.ptp
            - mcmmo.commands.party
            - mcmmo.commands.myspawn
            - mcmmo.commands.setmyspawn
            - mcmmo.ability.woodcutting
            - mcmmo.ability.axes
            - mcmmo.ability.swords
            - essentials.warp
            - mcmmo.skills.*
            - uQuest.CanQuest
            - uQuest.CanDropQuest
            - wolfpound.use
            - mcbans.vote
            - ecoCreature.Creature.*
            - sprint.allow
            - elevators.builder
            - essentials.depth
            - essentials.compass
            - essentials.home
            - essentials.sethome
            - essentials.warp
            - essentials.afk
            - essentials.msg
            - essentials.rules
            - essentials.motd
            - essentials.me
            - essentials.list
            - essentials.mail
            - essentials.mail.send
            - essentials.helpop
            - essentials.clearinventory
            - essentials.suicide
            - essentials.spawn
            - essentials.setspawn
            - essentials.pay
            - essentials.worth
            - essentials.sell
            - essentials.balance
            - essentials.signs.heal.use
            - essentials.signs.mail.use
            - essentials.signs.mail.create
            - essentials.kit
            - essentials.kit.<kitname>
            - essentials.kit.*
            - lwc.protect
            - craftbook.mech.*
            - preciousstones.benefit.heal
            - preciousstones.benefit.launch
            - preciousstones.benefit.bounce
            - wormhole.use.sign
            - wormhole.use.dialer
            - wormhole.use.compass
            - wormhole.list
        VIP:
            default: false
            info:
                prefix: '&5[VIP] '
                suffix: '&5'
                build: true
            inheritance:
            - Moderator
            permissions:
            - worldedit.*
            - essentials.world
            - essentials.nick
            - essentials.antioch
            - essentials.burn
            - essentials.ping
            - essentials.unban
            - essentials.item
            - essentials.time
            - essentials.tree
            - essentials.bigtree
            - essentials.god
            - essentials.heal
            - essentials.spawnmob
            - dropchest
            - dropchest.create
            - dropchest.remove
            - dropchest.radius.set
            - dropchest.which
            - dropchest.teleport
            - dropchest.filter
            - dropchest.destroy
        Moderator:
            default: false
            info:
                prefix: '&a[Moderator] '
                suffix: '&a'
                build: true
            inheritance:
            - User
            permissions:
            - elevators.advancedbuilder
            - mcbans.vote.kick
            - essentials.jails
            - essentials.deljail
            - essentials.setjail
            - essentials.togglejail
            - essentials.kick
            - essentials.mute
            - essentials.broadcast
            - essentials.kill
            - essentials.ping
            - essentials.jump
            - essentials.whois
            - essentials.delwarp
            - essentials.setwarp
            - essentials.warp
            - essentials.warp.list
            - essentials.tphere
            - essentials.tp
            - essentials.back
            - essentials.back.ondeath
            - lwc.mod
        GameMaster:
            default: false
            info:
                prefix: '&9[GameMaster] '
                suffix: '&9'
                build: false
            inheritance:
            - Moderator
            permissions: null
        CoMa:
            default: false
            info:
                prefix: '&d[CoMa] '
                suffix: '&d'
                build: true
            inheritance:
            - VIP
            permissions:
            - worldedit.*
            - worldguard.*
            - vanish.vanish
            - vanish.dont.hide
            - essentials.give
            - essentials.ban
            - essentials.banip
            - essentials.kickall
            - essentials.unbanip
            - dropchest
            - dropchest.create
            - dropchest.remove
            - dropchest.radius.set
            - dropchest.which
            - dropchest.teleport
            - dropchest.filter
            - dropchest.destroy
        Event-Manager:
            default: false
            info:
                prefix: '&3[Event-Manager] '
                suffix: '&3'
                build: true
            inheritance:
            - VIP
            permissions:
            - worldedit.*
            - worldguard.*
            - vanish.vanish
            - vanish.dont.hide
            - essentials.give
            - essentials.ban
            - essentials.banip
            - essentials.kickall
            - essentials.unbanip
            - preciousstones.benefit.*
            - preciousstones.whitelist.*
            - preciousstones.special.*
            - preciousstones.bypass.*
            - preciousstones.admin.*
            - mcbans.kick
            - mcbans.lookup
            - mcbans.unban
            - mcbans.ban.temp
            - mcbans.ban.local
            - mcbans.ban.global
            - mcbans.ban.view
        Creator:
            default: false
            info:
                prefix: '&2[Creator] '
                suffix: '&2'
                build: true
            inheritance:
            - VIP
            permissions:
            - worldguard.*
        Admin:
            default: false
            info:
                prefix: '&4[Admin] '
                suffix: '&4'
                build: true
            inheritance: null
            permissions:
            - '*'
        HeadAdmin:
            default: false
            info:
                prefix: '&4[Head-Admin] '
                suffix: '&4'
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        notch:
            group: User
            permissions: null
        burningacidsdk:
            group: HeadAdmin
            permissions: null
        marcel2300:
            group: Admin
            permissions: null
        YoshiiFa:
            group: Admin
            permissions: null
        pommes9485:
            group: Admin
            permissions: null
        Seelenheil:
            group: Creator
            permissions:
            - essentials.spawnmob
        Uselchen:
            group: CoMa
            permissions: null
        Oberst_Jonas:
            group: Moderator
            permissions: null
        zerstreut:
            group: Moderator
            permissions: null
        Bananenwerfer:
            group: Admin
            permissions: null
        4C1D:
            group: VIP
            permissions: null
        xF4M0UZx:
            group: Moderator
            permissions:
            - essentials.spawnmob
            - wormhole.build
            - wormhole.remove.all
            - wormhole.remove.own
        dropchestmaxradius:
            info:
                '20': -1
    
    I was testing arround 2-3 hours. ... maybe you can give any solution ..

    Essentials CHAT is deaktivated!!

    thanks for your trouble
    and also for your great work

    yours faithfully...
     
  22. Offline

    Tealk

    could you include a local chat with a command /shout (text is visible all over the map)
     
  23. Offline

    BindMind

    I know you said not to ask "why it no werk" but this is ridiculous. I've been using this plugin for a long, long time and I've decided to add a yellow $ to the ends of a donator's name. Now, what's strange is that the suffix for individual users just plain doesn't work.

    I'm not sure if I'm doing something wrong... But here is my permissions setup:
    Code:
        bindmind:
            permissions:
            - groupusers.manpromote
            group: Owner
            info:
                prefix: ''
                suffix: '&e$'
    And my iChat setup.
    Code:
    message-format: '+prefix[+group] +name+suffix+prefix:&f +message'
    What am I doing wrong? -.-

    EDIT: The group-wide suffix is working, it's just the user suffix that doesn't work.
     
  24. Offline

    MacG32

    Working great with CB #680. :)
     
  25. Offline

    Jason555555

    why does it say [SEVERE] Cannot pass event from PLAYER_CHAT to iChat
     
  26. Offline

    cheese417624

    iChat loads up fine but when I test type it not only doesn't do anything to the chat format, but it has a gigantic error in CMD
    Using General, Permissions, iChat, WorldEdit, WorldGuard
    CMD list:
    Code:
    2011-04-14 19:412011-04-16 17:54:36 [INFO] Starting minecraft server version Beta 1.4
    2011-04-16 17:54:36 [INFO] Loading properties
    2011-04-16 17:54:36 [INFO] Starting Minecraft server on *:25565
    2011-04-16 17:54:36 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-653-g9992fff-b677jnks (MC: 1.4)
    2011-04-16 17:54:36 [INFO] Preparing level "world"
    2011-04-16 17:54:36 [INFO] Preparing start region
    2011-04-16 17:54:37 [INFO] 144 recipes
    2011-04-16 17:54:37 [INFO] Preparing spawn area: 85%
    2011-04-16 17:54:38 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-16 17:54:38 [INFO] [General-0.0] Loaded.
    2011-04-16 17:54:38 [WARNING] [General-3.3.2] An error occured: either general.kits does not exist or it could not be read; kits ignored
    2011-04-16 17:54:38 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    2011-04-16 17:54:38 [INFO] [General-3.3.2]  Using [Permissions 2.7] for permissions.
    2011-04-16 17:54:38 [INFO] [General-3.3.2] [Codename: Dvorak] Plugin successfully loaded!
    2011-04-16 17:54:38 [WARNING] [General-3.3.2] [Help] isn't detected. No /help support; instead use /general help
    2011-04-16 17:54:38 [INFO] [iChat] Found Permissions (v2.7)
    2011-04-16 17:54:38 [INFO] iChat (v2.2.3) enabled
    2011-04-16 17:54:38 [INFO] WorldEdit 4.3 enabled.
    2011-04-16 17:54:38 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-16 17:54:38 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-16 17:54:38 [INFO] WorldGuard: (world) Single session is enforced.
    2011-04-16 17:54:38 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-04-16 17:54:38 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-04-16 17:54:38 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-04-16 17:54:38 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-04-16 17:54:38 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-04-16 17:54:38 [INFO] WorldGuard: 3 regions loaded for 'world'
    2011-04-16 17:54:38 [INFO] WorldGuard 5.0-alpha9 enabled.
    2011-04-16 17:54:38 [INFO] Done (0.178s)! For help, type "help" or "?"
    2011-04-16 17:54:47 [INFO] blackrockflame [/192.168.1.1:52698] logged in with entity id 44
    2011-04-16 17:54:51 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroup(Control.java:536)
        at net.TheDgtl.iChat.iChat.getSuffix(iChat.java:258)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:44)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:234)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:595)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:583)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-16 17:54:51 [INFO] <blackrockflame> test
    2011-04-16 17:54:55 [INFO] blackrockflame lost connection: disconnect.quitting
    2011-04-16 17:54:55 [INFO] Connection reset
    2011-04-16 17:55:01 [INFO] Stopping the server..
    2011-04-16 17:55:01 [INFO] CONSOLE: Stopping the server..
    2011-04-16 17:55:01 [INFO] Stopping server
    2011-04-16 17:55:01 [INFO] [General-3.3.2] Plugin disabled!
    2011-04-16 17:55:01 [INFO] [iChat] iChat Disabled
    2011-04-16 17:55:01 [INFO] [Permissions] (Phoenix) saved all data.
    2011-04-16 17:55:01 [INFO] [Permissions] (Phoenix) disabled successfully.
    2011-04-16 17:55:01 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-16 17:55:01 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-04-16 17:55:01 [INFO] [iChat] Permissions plugin lost.
    2011-04-16 17:55:01 [INFO] WorldGuard 5.0-alpha9 disabled.
    2011-04-16 17:55:01 [INFO] Saving chunks
    2011-04-16 17:55:01 [INFO] Stopping server
    
    Config for iChat
    http://pastebin.com/DSZHrT9a
    Config for Permissions; Permissions name: world
    http://pastebin.com/jkvCYxMi
     
  27. Offline

    Deadman2

    HAHA it works with EsentialsGroupManager

    bro you need to make ur groups in the uusers at the bottom of permiisons not plural then it should work ok

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

    cheese417624

    Can't believe I missed that :oops:
     
  29. Offline

    svict4

    Code:
    18:24:46 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.LinkageError: loader constraint violation: loader (instance of org/buk
    kit/plugin/java/PluginClassLoader) previously initiated loading for a different
    type with name "com/nijiko/permissions/PermissionHandler"
            at net.TheDgtl.iChat.iChat.getPrefix(iChat.java:233)
            at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:43)
    
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:234)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:565)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    it was working perfectly fine yesterday and permissions is correct :L

    permissions:
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    
    groups:
    
        RESTRICTED:
            default: false
            info:
                prefix: '&0'
                suffix: ''
                build: false
            inheritance:
            permissions:
    
        Newplayer:
            default: true
            info:
                prefix: '&8'
                suffix: ''
                build: false
            inheritance:
            permissions:
    
        Normal:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'giveit.allow'
                - 'worldedit.wand'
                - 'magiccarpet.mc'
                - 'elevators.builder'
                - 'movecraft.*'
                - 'HomeX.*'
                - 'worldedit.superpickaxe'
                - 'wolfpound.adopt'
                - 'mywarp.warp.basic.warp'
                - 'onlinelist.online'
                - 'onlinelist.mods'
                - 'snowballz.aremadebyhand'
                - 'snowballz.changeblocks'
                - 'snowballz.putoutfire'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'bc.tnt.allowed'
                - 'worldedit.region.replace'
    
        Normal &6Testing&f:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'giveit.allow'
                - 'worldedit.wand'
                - 'magiccarpet.mc'
                - 'elevators.builder'
                - 'movecraft.*'
                - 'HomeX.*'
                - 'worldedit.superpickaxe'
                - 'wolfpound.adopt'
                - 'mywarp.warp.basic.warp'
                - 'onlinelist.online'
                - 'onlinelist.mods'
                - 'snowballz.aremadebyhand'
                - 'snowballz.changeblocks'
                - 'snowballz.putoutfire'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'bc.tnt.allowed'
                - 'worldedit.region.replace'
    
        Moderator:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'giveit.allow'
                - 'magiccarpet.mc'
                - 'worldedit.wand'
                - 'elevators.builder'
                - 'HomeX.*'
                - 'worldedit.superpickaxe'
                - 'wolfpound.use'
                - 'wolfpound.adopt'
                - 'onlinelist.online'
                - 'onlinelist.mods'
                - 'snowballz.aremadebyhand'
                - 'snowballz.changeblocks'
                - 'snowballz.putoutfire'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'bc.tnt.allowed'
                - 'worldedit.region.replace'
    
        Admins:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'giveit.allow'
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
                - 'residence.admin'
                - 'magiccarpet.mc'
                - 'worldedit.wand'
                - 'HomeX.*'
                - 'onlinelist.online'
                - 'onlinelist.mods'
                - 'snowballz.aremadebyhand'
                - 'snowballz.changeblocks'
                - 'snowballz.putoutfire'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'bc.tnt.allowed'
                - 'worldedit.region.replace'
    
        GOD:
            default: false
            info:
                prefix: '&c'
                suffix: '&6'
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    
    ##
    
    users:
    
        player1:
            group: Normal
            permissions:
    
        player2:
            group: GOD
            permissions:
    
        player3:
            group: Admin
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player4:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player5:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player6:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player7:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player8:
            group: Normal
            info:
                prefix: ''
                suffix: '&9'
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player9:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player10:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player11:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player12:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player13:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player14:
            group: Moderator
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player15:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player16:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player17:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player18:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player19:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player20:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
    
        Player21:
            group: Normal
            info:
                prefix:
                suffix:
            permissions:
                - 'worldedit.superpickaxe'
                - 'worldedit.region.set'
     
  30. Offline

    xblackknife

    Where can I see which code is for which color? Please help me.
     
  31. Offline

    Gratlofatic

    Code:
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
            ... 13 more
    Anybody know?

    Edit: Just fixed it! I just re-wrote my permissions folder and it turned out fine :3
     
Thread Status:
Not open for further replies.

Share This Page