Filled GlobalWelcome

Discussion in 'Plugin Requests' started by MrCrashnil, Jul 12, 2015.

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

    MrCrashnil

    Plugin category: Chat Related

    Suggested name: GlobalWelcome

    What I want: I want a plugin that when a Donator or VIP join the server, a message pops in the chat. Example: ==========================
    Welcome, name with prefix
    ==========================

    If you could costumize what to say in the config.yml would be great.

    Ideas for commands:
    No commands needed for this plugin.

    Ideas for permissions:
    gw.receive (for people to receive the message), gw.vip (so if a player has this permission, when he joins the server, they message will be displayed)

    When I'd like it by:
    No hurries.

    If it could be in version 1.7.2 please

    IF YOU WANT FUTHER INFORMATION, DO NOT HESITATE TO CONTACT ME :)
     
    Last edited: Jul 12, 2015
  2. @MrCrashnil Wait you have 2 perms for the same thing.
     
  3. Offline

    MrCrashnil

    @bwfcwalshy
    No, if gw.receive is for the normal users so that they know a VIP has joined, and the gw.vip is for VIP's. Do you understand it?
     
  4. @MrCrashnil Oh I get it. I'll do this as no one has yet.

    EDIT: Done.
    DOWNLOAD

    Commands:
    n/a

    Permissions:
    globalwelcome.receive
    globalwelcome.<rank>

    Config:
    Code:
    #This plugin supports multiple groups. The permission will be globalwelcome.<rank>
    #Key:
    # %player% = player's name
    # %name% = player's display name
    
    Ranks:
      vip:
        Messages:
        - '&7=========================='
        - '&dWelcome, &b%name%'
        - '&7=========================='
     
    Last edited: Jul 12, 2015
  5. Offline

    MrCrashnil

    @bwfcwalshy
    THANKS YOU A LOT! YOU ARE MY HERO!

    @bwfcwalshy Opss... an error pops up:

    Code:
    [19:24:32] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to GlobalWelcome v1.0
    org.bukkit.event.EventException
       at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.PlayerList.c(PlayerList.java:225) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.PlayerList.a(PlayerList.java:116) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.LoginListener.c(LoginListener.java:78) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.LoginListener.a(LoginListener.java:42) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:149) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
       at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()Ljava/util/Collection;
       at com.bwfcwalshy.globalwelcome.Events.onJoin(Events.java:26) ~[?:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
     
    Last edited: Jul 12, 2015
  6. Offline

    mrCookieSlime

    @bwfcwalshy
    Silly Walshy compiling against 1.8
    sigh
     
    MrCrashnil likes this.
  7. Offline

    MrCrashnil

    @mrCookieSlime
    Yeah hahahahahahah, just look at the console, he did it for 1.8 hahaha
     
  8. Offline

    MrCrashnil

  9. Offline

    MrCrashnil

    @bwfcwalshy ok, thank you, I will check it out now!

    EDIT: It does work! Thank you very much! Is it possible for you to give me the source code? I will not distributed, it will only be for my server. Thank you!
     
    Last edited: Jul 13, 2015
  10. Offline

    MrCrashnil

    @bwfcwalshy thank you verrrrrry much! You are my hero!
     
Thread Status:
Not open for further replies.

Share This Page