Spigot VentureChat 3.2.2

#1 Channels Chat plugin! Spigot + Bungee. Supports PlaceholderAPI + JSON formatting. New Hex Colors!

  1. Not using bungecord.. it seems it is essentials conflicting although i disable the chat. I guess.. scripting time for my admin xD ...
     
  2. I'm having issues with /msg --

    Whenever the command /msg is ran by me or a player, nothing shows up but in console it says:

    Purevega issued server command: /msg enfer testtesttest
    Purevega issued server command: /vmessage enfer testtesttest

    I have VentureChat, Essentials, and Maxbans; I'm not too sure what else could cause this issue.

    Edit: Upon adding VC I deleted Essentials Chat, I still have essentials and essentials spawn which shouldn't be causing trouble.
     
    #4662 Purevega, Sep 12, 2016
    Last edited: Sep 12, 2016
  3. @rosedragon @Purevega The bungeecord messaging settings are true by default. Set it to false if you're not using BungeeCord.
     
  4. OOOOH. Lol.. that feels so trivial >_> ... I do not notice when I read the config, like, wasn't think it was the culprit. Thanks anyway!
     
    • Funny Funny x 1
  5. I forgot to mention that you need to delete your data file (with the server offline) when you update to the latest version. That should fix any issues with the new messagetoggle command, and the permission is "venturechat.messagetoggle"

    Edit: The overview has been updated with the new command information.

    Edit 2: I also fixed the mail command to work with the (not very) new data structuring. Last touched in 2014, so the command is a bit archaic. I think it works like Essentials, but someone will have to tell me if it does or not.
     
    #4665 Aust1n46, Sep 12, 2016
    Last edited: Sep 12, 2016
  6. I'm having a severe issue for when anyone tries to run the commands /msg /message /whisper /tell it causes what's shown in the pictures and causes SEVERE lag. Not really sure what to do.

    [Removed the images]

    Console Paste Bin

    Venture Chat Config


    Please answer as soon as possible. Thanks.
     
    #4666 Purevega, Sep 12, 2016
    Last edited: Sep 12, 2016
  7. Updated venturechat and deleteed data file with your instruction. Got this when I do a /chatreload (after editing the config again, to reflect my old one)
    Code (Text):

    12.09 17:48:20 [Server] WARN [VentureChat] Task #16283 for VentureChat v2.10.0 generated an exception
    12.09 17:48:20 [Server] INFO java.lang.NullPointerException 12.09 17:48:20 [Server] INFO at mineverse.Aust1n46.chat.database.PlayerData.savePlayerData(PlayerData.java:74) ~[?:?]
    12.09 17:48:20 [Server] INFO at mineverse.Aust1n46.chat.MineverseChat$1.run(MineverseChat.java:475) ~[?:?]
    12.09 17:48:20 [Server] INFO at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.9.4.jar:git-Spigot-798f32d-0cd0397]
    12.09 17:48:20 [Server] INFO at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.9.4.jar:git-Spigot-798f32d-0cd0397]
    12.09 17:48:20 [Server] INFO at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:734) [spigot-1.9.4.jar:git-Spigot-798f32d-0cd0397]
    12.09 17:48:20 [Server] INFO at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-798f32d-0cd0397]
    12.09 17:48:20 [Server] INFO at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-798f32d-0cd0397]
    12.09 17:48:20 [Server] INFO at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-798f32d-0cd0397]
    12.09 17:48:20 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92]
     
    It seems everything is working tho.. o.o
     
  8. Wheres the data file at? I cant seem to find it.
     
  9. I mean of configs and everything else on folder VentureChat
     
  10. @Purevega
    Code (Text):
    msg:
        arguments: 0
        permissions: None
        components:
        - 'Command: /msg'
    You put the command inside of its own alias... of course it's going to infinite loop.

    @rosedragon You need to turn the server off, and then delete the file, and then restart it.

    @Purevega The data file is in the VentureChat folder inside of the plugins folder. It's called Players.yml
     
  11. What do I put there instead of /msg?
     
  12. I did. Maybe something I copy paste use older config format. I will recheck :) .

    edit: yea it definitely the parts I copy paste, some of them is this formatting which make whisper works for me:
    tellformatto: '&8<&5Whisper&8> &b{playerfrom} &d&l> &[email protected]{playerto}: &f'

    so I will just ignore the warn reload errors lol.
     
    #4672 rosedragon, Sep 12, 2016
    Last edited: Sep 12, 2016
  13. @Purevega The default is /vmessage. You went in and changed all of them. I suggest copying in an alias section from a new config.
     
  14. I can't get server chat to work with Bungee. As soon as I installed BungeeCord, global chat started bugging out. I wouldn't be able to chat, but someone else could. Then vice versa. Then no one. I set all the configs on the lobby, survival and BungeeCord servers to be the same. They share the following config.yml

    Players ARE able to message each other cross server. This is an issue that I can't figure out.

    Code (Text):
    #===============================================================
    #                     MineverseChat Config                     =
    #                      Author: Aust1n46                        =                    
    #===============================================================

    # - regex1,regex2
    # Simple regex tips: Use \b to "cut" a section of the word or phrase.  Example: \bass,donuts
    # Example filtered sentence: You are an ass.  Will become: You are an donuts.
    # Example filtered sentence: You caught a bass.  Will stay: You caught a bass.
    # Example filtered sentence: You are an asshole.  Will become: You are an donutshole.
    # Default filters by Jabelpeeps
    filters:
    - (\b.?anus),donuts
    - (\ba+r*(se+|ss+(?!(ass|um|oc|ign|ist)).*?|s*e*h+[o0]*[l1]+e*[sz]*)\b),donuts
    - (b[i1]a?tch(es)?),puppy
    - Carpet Muncher,cookie monster
    - (\bc((?!ook\b)[o0]+c*|aw)k\W?(sucker|s*|he[ea]*d)\b),rooster
    - (\b[ck]r+a+p+(er|s|z)?\b),poopoo
    - (\bcu+m+\b),go
    - (\b.?[ck](u*n+|[l1]+[i1]+)t+[sz]*\b),peach
    - (\b.?d[1i](c?k(head)?|[l1]+d[o0])e?[sz]?\b),rooster
    - f u c k( e r)?,nono
    - (\b.?fai*g+[oei1]*t*[sz]*\b),cigar
    - Fudge Packer,fine person
    - (\b(m[uo]+th[ae]r?)?(f|ph)uc*k*(e[rn]|ah*|ing?|)[sz]?\b),oh dear
    - (\b(j(ac|er|ur)k\W?(of+))|(ji[sz]+i*m*)\b),bake brownies
    - (\b(ma+s+te?rbai?te?[rs]?|wank(er)?[sz]?)\b),bake brownies
    - orafi(s|ce),rooster
    - (\bp+[e3]+[ai]*n+[i1!ua]+s+),rooster
    - (\bp[i1]s+(?!(ton))(flap|face|drop)?),peepee
    - (\b.?sh[i1!y]t+(er?|y|head)?[sz]*),poopoo
    - (\bva[1i]?[gj]+[i1]+na+\b),peach
    - vu[1l]+va,peach
    - planet.?minecraft,another dimension
    - pmc,another dimension
    - ((\d+\.){3}\d+),another dimension

    # command without the /
    blockablecommands:
    - vote
    - me

    # blacklisted nicknames
    nicknames:
    - Notch

    nickname-in-tablist: true

    commandspy:
      worldeditcommands: true
     
    antispam:
      enabled: true
     
      # number of messages to be spam
      spamnumber: 5
     
      # amount of time in seconds for it to be spam
      spamtime: 10
     
      # amount of time in minutes for the mute to last, use 0 for untimed mute
      mutetime: 10
    # Logging chat and commands to a mysql database
    mysql:
      enabled: false
      user: User
      port: 3306
      password: Password
      host: localhost
      database: Database

    # Login and logout messages
    # Use Default for the vanilla login and logout messages
    login:
      enabled: true
      message: Default
    logout:
      enabled: true
      message: Default

    # Loglevel feature is still in the works for adding of debug messages
    # Valid loglevels:
    # Info: Regular logging
    # Debug: Show extra messages and caught errors for debugging
    # Severe: Only show severe messages
    loglevel: info

    # saveinterval is in minutes
    saveinterval: 30

    # The time in seconds between each check to remove timed mutes
    unmuteinterval: 60

    # The color of the private messages
    tellcolor: light_purple

    # Enables or disabled BungeeCord messaging
    bungeecordmessaging: true

    # This will allow vanished players to be exempt from being sent private messages, and will act as if they aren't online
    vanishsupport: true

    # {playerto} : player receivings name
    # {playerfrom} : player sendings name
    # use Default for the basic formatting
    tellformatto: '&dYou &a➤ &5{playerto} &7»&e'
    tellformatfrom: '&5{playerfrom} &a➤ &dYou &7»&e'
    tellformatspy: Default
    replyformatto: '&dYou &a➤ &5{playerto} &7»&e'
    replyformatfrom: '&5{playerfrom} &a➤ &dYou &7»&e'
    replyformatspy: Default

    # {sender} : player sendings name
    # {player} : player receivings name
    # {time} : time mail was sent
    # use Default for the basic formatting
    mailformat: Default

    # {host} : party hosts name
    # {player} : player name
    # use Default for the basic formatting
    partyformat: Default

    broadcastafk: false
    formatcleaner: true

    # If true, /ignore will block chat from the ignored player as well as PM's
    ignorechat: false

    # The message shown to players alerting them no one is in the channel to hear them
    emptychannelalert: "&6No one is listening to you."

    messageremoverpermissions: '&cYou need additional permissions to view this message!'

    # The name of the group is the permissions node for the format
    # Example: mineversechat.json.Owner is the node for the group Owner
    # A lower priority overrides a higher priority if a player has more than 1 group
    # Possible options for click_name and click_prefix are suggest_command, run_command, and open_url
    jsonformatting:
      Default:
        priority: 1
        hover_name:
        - ''
        click_name: ''
        click_name_text: ''
        hover_prefix:
        - ''
        click_prefix: ''
        click_prefix_text: ''
        hover_suffix:
        - ''
        click_suffix: ''
        click_suffix_text: ''
      Owner:
        priority: 1
        hover_name:
        - ''
        - ''
        click_name: ''
        click_name_text: ''
        hover_prefix:
        - ''
        click_prefix: ''
        click_prefix_text: ''
        hover_suffix:
        - ''
        click_suffix: ''
        click_suffix_text: ''
       
    # The icon is the block shown in the GUI
    # The text is the display name of the block icon
    # Include a slash (/) before the command  
    # Permissions automatically include "mineversechat."
    # Example: permissions: alert equals mineversechat.alert
    venturegui:
      mute:
        icon: 'REDSTONE_BLOCK'
        durability: 0
        text: '&cMute {player_name}'
        permission: 'mute'
        command: '/mute {player_name} {channel} 10'
        slot: 1
      unmute:
        icon: 'DIAMOND_BLOCK'
        durability: 0
        text: '&bUnmute {player_name}'
        permission: 'mute'
        command: '/unmute {player_name} {channel}'
        slot: 2
      removemessage:
        icon: 'DIAMOND_AXE'
        durability: 0
        text: '&cRemove Message'
        permission: 'removemessage'
        command: '/removemessage {hash} true'
        slot: 7
       
    guiicon: '&c ◄'
    guitext: '&cOpen Moderation GUI'
    guirows: 1

    # All clickable URL's will be underlined if set to true
    underlineurls: true

    # broadcast information
    broadcast:
      color: cyan
      permissions: mineversechat.adminchannel
      displaytag: '[POG]'
     
    # Use $ to include arguments into the message
    # Valid component types are:
    # Command: Sends a message or command in chat
    # Message: Sends a message to the player
    # Broadcast: Sends a broadcast to all players on the server
    # Permissions automatically include "mineversechat."
    # Example: permissions: alert equals mineversechat.alert
    # Use None for no permissions
    # The number of arguments is the minimum number of required arguments, use 0 for no required arguments
    alias:
      vote:
        arguments: 0
        permissions: None
        components:
        - 'Message: &eVoting &bgives you cool &erewards&b! Below are our site &elinks&b!'
        - 'Message: &6Site 1: http://www.planetminecraft.com/server/pogtoria---land-of-the-gawds/vote'
        - 'Message: &6Site 2: https://minecraftlist.org/vote/3474'
        - 'Message: &6Site 3: http://minecraft-mp.com/server/131498/vote/'
      mail:
        arguments: 0
        permissions: None
        components:
        - 'Command: /email$'
      tell:
        arguments: 0
        permissions: None
        components:
        - 'Command: /vtell$'
      whisper:
        arguments: 0
        permissions: None
        components:
        - 'Command: /vwhisper$'
      w:
        arguments: 0
        permissions: None
        components:
        - 'Command: /vwhisper$'
      msg:
        arguments: 0
        permissions: None
        components:
        - 'Command: /vmessage$'
      message:
        arguments: 0
        permissions: None
        components:
        - 'Command: /vmessage$'
      survival:
        arguments: 0
        permissions: None
        components:
        - 'Command: /server survival'
      creative:
        arguments: 0
        permissions: None
        components:
        - 'Command: /server creative'
      lobby:
        arguments: 0
        permissions: None
        components:
        - 'Command: /server lobby'
      spawn:
        arguments: 0
        permissions: None
        components:
        - 'Command: /warp spawn'
      respawn:
        arguments: 0
        permissions: None
        components:
        - 'Command: /warp spawn'
       
    # Valid modes are:
    # * Everyone
    # v Voice and up
    # h HalfOp and up
    # q Owner
    # o Op and up
    # Enter components like console commands
    # Arguments are accepted
    irc:
      enabled: false
      nick: 'MineverseChatBot'
      login: 'MineverseChatbot'
      server: 'irc.freenode.net'
      port: 6667
      channel: '#mineversechat'
      trustallcertificates: true
      # the delay before the bot logs into the channel in seconds
      # increase the time if the bot fails to login
      channeldelay: 60
      commands:
        mute:
          mode: 'v'
          components:
          - 'mute'
        ban:
          mode: 'o'
          components:
          - 'ban'
        kick:
          mode: 'v'
          components:
          - 'kick'

    # color = [channel] color
    # chatcolor = text color
    # cooldown is in seconds
    # bungeecord overrides distance
    # channel permissions are configurable
    # channels can be changed, and new channels can be created
    # Permissions automatically include "mineversechat."
    # Example: permissions: staff equals mineversechat.staff
    # Use None for no permissions

    # Legacy Placeholders:
    # Use PlaceholderAPI
    # {name} : player name
    # {nickname} : player nickname or name if they have no nickname
    # {prefix} : player prefix and color
    # {suffix} : player suffix and color
    # {servername} : name of the server in server.properties
    # {herolevel} : heroes hero level
    # {heroclass} : heroes hero class
    # {heroxp} : heroes hero xp
    # {herosecondclass} : heroes second class
    # {party} : heroes party
    # {herosecondmaster} : heroes second class master
    # {heromaster} : heroes class master
    # {herosecondlevel} : heroes second class level
    # {herosecondxp} : heroes second class xp
    # Use '' or "" around format, example: '[&2global&f] {prefix}{name}&2:'
    # You must have prefixes and suffixes set in a Vault compatible permissions plugin to avoid errors
    # Use "" as the prefix or suffix to have none
    # use Default for the basic formatting
    channels:
      Global:
        color: white
        chatcolor: white
        mutable: true
        filter: false
        autojoin: true
        default: true
        distance: 0
        cooldown: 0
        bungeecord: true
        alias: g
        permissions: None
        format: '&f[&2G&f] {prefix}{nickname}&2:'
        irc: false
      staff:
        color: light_purple
        chatcolor: light_purple
        mutable: false
        filter: false
        autojoin: true
        default: false
        distance: 0
        cooldown: 0
        bungeecord: true
        alias: st
        permissions: staff
        format: '&f[&aS&f] {prefix}{nickname}&a:'
        irc: false
      Help:
        color: aqua
        chatcolor: aqua
        mutable: true
        filter: true
        autojoin: true
        default: false
        distance: 0
        cooldown: 0
        bungeecord: true
        alias: h
        permissions: None
        format: '&f[&bHelp&f] {prefix}{nickname}&b:'
        irc: false
     
     
  15. How can i make it so that when u hover a javascriplaceholder it shows the box with some text i can configure?
     
  16. How can i make my own json code and use it in venturechat for formatting?
     
  17. @HACKSCOMICON You can't... you can create JSON formats that will apply hover and click events for the Prefix, Suffix, and Player Name. I have plans for a more complex system, but I get plenty of error reports already from people who mess up the current system. So making it more complex is worrisome to me.
     
  18. First of all you will need to have a wiki well made with all the documentation needed. For me it was really hard to start and understand how all of this worked. Even now i don't know everything but it took time for me to get used to it. Having a good wiki would have helped me a lot! Please make a more complex system(deluxe chat has a way of adding more stuff to the clickable part of the prefix name or other stuff) or add a way for me to be able to adf raw json code to the channels and be able to run it. Please... also i can try helping with the wiki cuz i don't see anymore stuff getting updated and more stuff getting on the wiki.
     
  19. @HACKSCOMICON I don't think you understand how much goes on in the background to making all the JSON stuff work. There is no option of "just add raw JSON to the channels and make it work." DeluxeChat and VChat are extremely different when it comes to JSON formatting. DeluxeChat is also not free and has fewer users, and they are more likely more qualified to edit the configs because they just paid money for the plugin. I cannot just make the config super complex and not expect to have to deal with a lot of error reports.
     
  20. Ok. I thought that there was a way to add raw json. I am sorry for misunderstanding. Maybe you could make two versions? Idk. I just really need and want a bit more complex things. To be able to add clickeable and hovering thingies to almost anything i want or be able to separate the chat in multiple boxes and each one having their own text i want to put it and their own placeholders. Instead of making it more complicate u can have it like this:
    #sorry if i have lots of comments
    #"bbla" is a random string i made up so i can show the functionalities
    #the idea is that with ur plugin u can only hover suffix, prefix and name and i thought of a better way of doing this and being able to add more hovering stuff
    Text i output "(H)[H][VIP]bbla RapKey[Parkour Pro][suffix2][suffix3]";
    In the config:
    Code (Text):
    channel:
    Help:
        color: aqua
        chatcolor: aqua
        mutable: true
        filter: true
        autojoin: true
        default: false
        distance: 0
        cooldown: 2
        bungeecord: false
        alias: h
        permissions: None
    # i put them as "[suffix2][suffix3]" as example u can later replace this with placeholders. You get the idea.
        format: '{javascript_world_color}&f[&bH&f] {prefix}bbla {nickname}&b&f[{suffix}&f]&b[suffix2][suffix3]: '
        irc: false
    jsonformatting:
      vip:
        priority: 2147483646
        hover_name:
        - '&7Click name to message &cme'
        - 'World: {javascript_world_name}'
        - '&7Channel: &bHelp' #the issue is that i can not do per channel text there as there is no channel prefix
        click_name: suggest_command
        click_name_text: /msg {player_name}
        hover_prefix:
        - '&6I am &aVIP'
        - '&7Buy &aVIP &7at store'
        click_prefix: run_command
        click_prefix_text: /help
        hover_suffix:
        - '&dI am default suffix!'
        click_suffix: suggest_command
        click_suffix_text: /msg {player_name}
    Code (Text):
    channel:
    Help:
        color: aqua
        chatcolor: aqua
        mutable: true
        filter: true
        autojoin: true
        default: false
        distance: 0
        cooldown: 2
        bungeecord: false
        alias: h
        permissions: None
        format:
    #name the things below whatever you want. i named them this for me to be able to write this text. i reffer to "world:", "suffix2:", "channel:" etc.
    #{javascript_world_color} outputs &7(H) if player is in world hub
           world:'{javascript_world_color}'
    #this format with "-" so u can add multpitple lines on hovered text
    #{javascript_world_name} outputs &6&lHub if player is in hub
           world_hover:
           - '&7{nickname} was in world {javascript_world_name}'
           world_click: suggest_command
           world_click_text: /warps
           channel:'&f[&bH&f]'
    #here i don't need channel prefix placeholder as i can do hover per channel
           channel_hover:
           - '&7Channel: &bHelp'
           channel_click: run_command
           channel_click_text: /chlist
           prefix:'{prefix}bbla'
           name:'&a{nickname}'
           suffix:'&f[{suffix}&f]'
           suffix2:'[suffix2]'
           suffix2_hover:
           - '&7Suffix text. Idk'
           - '&aAnother text'
           suffix2_click: run_command
           suffix2_click_text: /help
           suffix3:'[suffix3]'
           suffix3_hover:
           - 'Suffix text'
           suffix3_click: run_command
           suffix3_click_text: /help
        irc: false
    jsonformatting:
      vip:
        priority: 2147483646
        hover_name:
        - '&7Click name to message &cme'
        click_name: suggest_command
        click_name_text: /msg {player_name}
        hover_prefix:
        - '&6I am &aVIP'
        - '&7Buy &aVIP &7at store'
        click_prefix: run_command
        click_prefix_text: /help
        hover_suffix:
        - '&dI am default suffix!'
        click_suffix: suggest_command
        click_suffix_text: /msg {player_name}
    This could work really well with a complete and well written wiki. Sorry. But I had to say it.
    P.S. I wrote this as fast as i could. It's not perfect but i hope you get the idea of what i see...