Inactive [INFO] KRegions v1.1 - Notify Players when entering a WorldGuard Region [Spout] [1000]

Discussion in 'Inactive/Unsupported Plugins' started by kazimir, Aug 13, 2011.

  1. Offline

    kazimir

    KRegions - Notify Players when entering a WorldGuard Region:
    Version: 1.1
    Static JAR Download: KRegions v1.1

    Get rid of users running around with a string to check regions! This plugin notifies a player which WorldGuard region he enters or leaves by showing this tiny achievement window. This plugin is nothing really special, but it evolved by playing with the WorldGuard API. I hope you can make use of this and if needed, I will improve this plugin.

    Needs SPOUT and WorldGuard!

    Features:
    • Shows notification on entering/leaving a WorldGuard region
    [​IMG]


    And here is a video of installing and using my plugin!
    Credits go to BrandonHopkins and TechHut.us . Thanks for creating the video!

    Download KRegions:
    KRegions v1.1 JAR

    Older Versions:
    KRegions v1.0 JAR

    Config (open)

    Code:
    ############## KRegions Config ##########
    ##
    ##notificationTitle: Title of notification window
    ##
    ##notificationSymbol: Integer value of symbol that is shown
    ##
    ##messageOnEnter/messageOnLeave: Message that shows up on entering/leaving a region.
    ##Use {regionname} for showing the region name!
    ##
    #########################################
    
    messageOnLeave: Leaving {regionname} !
    notificationSymbol: 3
    notificationTitle: Region
    messageOnEnter: Entering {regionname} !


    TO-DO:
    • Addings Sounds is a nice idea...will take a look at it.
    Changelog:
    Version 1.1
    • Added configs for customizing text and icon
    • Small fix in plugin.yml
    Version 1.0
    • Initial release
     
    isaac13_13, KoryuObihiro and kahlilnc like this.
  2. Offline

    nova779

    where is that feature at?
     
  3. Offline

    Taranis01

    use the flags "notify-enter" and "notify-leave". Doing that every time is not very simple thought
     
  4. Offline

    HexedGoth

    i set up the region after i added the plugin i downloaded the static jar at the top if that helps and it wont notify me when i enter a region. yes i have spout on the server and yes im using the spout launcher.

    edit: just downloaded the 1.1 ver. at the bottom and still doesnt work.
     
  5. Offline

    40540057

    can this be setup (if not already for either OPs only or using superperms and/or permissions 3.x PLEASE? thanks!
     
  6. Offline

    chuiby

    I get this error:
    Show Spoiler

    Code:
    2011-08-19 00:39:14 [SEVERE]      Could not pass event PLAYER_MOVE to KRegions
     java.lang.UnsupportedOperationException:      Notification messages can not be greater than 26 chars + 26 colors 
     at      org.getspout.spout.player.SpoutCraftPlayer.sendNotification(SpoutCraftPlayer.java:401)      
     at      de.kazimir.kregion.KRPlayerListener.onPlayerMove(KRPlayerListener.java:80) 
     at      org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)      
     at      org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) 
     at      org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)      
     at      net.minecraft.server.NetServerHandler.a(NetServerHandler.java:174) 
     at      org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:527) 
     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:435) 
     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)
    


    Suggestions:

    Add a new flag for worldguard regiong, i.e: name-1 and name-2
    So it would display the text contained in "name-1" as the first line and "name-2" as the second line instead of displaying the name that it was registered with.
     
  7. Offline

    Haekon

    Another vote for music per region. Maybe a separate plugin, tho as not everybody would want that.
     
  8. Offline

    Zarius

    Love it - adding now :)
     
  9. Offline

    jameyc

    Any update on the repo? Was thinking about making some modifications to check against an internal list of region id's, to add extra flags. (eg. music, or custom popup title/description instead of just using the worldedit names.) That would also allow utility regions to be ignored. (Not requesting them as features, probably outside the scope of your needs anyway.)
     
  10. Offline

    Thelgilius

    can you make version without spout?
     
  11. Offline

    t_one21

    Why would you want this feature with out Spout, when this whole plug-in is built for a Spout-feature? ^^'
    if u want this without Spout, just use World-guard. :)
     
  12. Offline

    Thelgilius

    but worldguard dont make it automaticly
     
  13. Only one request: The regions aren't capitalized for some reason, and my places use capital letters because they're named after people... Could you fix this?
     
  14. Offline

    d00ba

    Is the source code for this available anywhere?
     
  15. Offline

    atlem

    awsome pluggin but its spaming my consoll when im not walking in a region . any ideas ?
     
  16. Offline

    T9C5F

    are you able to create one for "residence" as well? would be so so great. :)
     
  17. Offline

    cr0sis

    Two things:
    One, I'd like capitalization as someone else already mentioned

    Two, why give us the option to edit notification messages if I can't leave the "leaving" notification blank? I don't want people being spammed (there's a lot of regions in one area, walking around triggers them all and I'd like to just have the "entering" notification, not the leaving one. This is what happens when I try to leave the "leaving" notification blank:

    Code:
    2011-09-05 15:07:03 [SEVERE] Could not pass event PLAYER_MOVE to KRegions
    java.lang.NullPointerException
    at org.getspout.spout.player.SpoutCraftPlayer.sendNotification(SpoutCraftPlayer.java:472)
    at de.kazimir.kregion.KRPlayerListener.onPlayerMove(KRPlayerListener.java:61)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:174)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:596)
    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:478)
    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)
     
  18. Offline

    darkcloud784

    Add towny regions and update it to 1.8 and im all in =P
     
  19. Offline

    Nikve

    A feature that tells players when other players are in there region would be nice.
     
  20. Offline

    Aly

    I dunno why this won't work for us. No errors or anything, Spout is set just how it wants it to be. Help :(
     
  21. Offline

    Lxyx

    Hi There, Good job, I am very happy with your Plugin :D,

    Just one problem as soon as I use Priorities in the worldGuard regions it seems the plugin gets a little bit confused and does not want to talk to me.

    Maybe it would be nice to implement a kind of ranking, or use the Region Prio

    Any way good job, thanks

    Lxyx
     
  22. Offline

    Col1107

    What is Spout? Can you provide a Link?
     
  23. Offline

    nissepro

    what is spout :confused:
     
  24. could you add this:

    When entering to region, id like to have :
    messageOnEnter: You entered {regionname} region!

    and id like to have GREEN WOOL picture showing
    and when i leave region:
    messageOnLeave: You left {regionname} region!

    id like to have RED WOOL picture showing.

    atm i can only have 1 and the same picture each time either entering or leaving the region. Can you add this pls? RED / GREEN would be cool to have there XD
     
  25. Offline

    Condamor

    Ye should add the ability to disable the message for specified regions (and if you want to improve that further make a setting that reverses that functionality -- only regions specified will tell you that you entered them)

    Or if I may have your permission, let me take your source code to try and do it myself sometime!
     
  26. Offline

    eivind418

    Can you please add that? people say it is in world guard but it never shows up for me when i go from a region to regular land! please help! do i have to edit a config? if not that it just wont work for me please implement this! and i dont want it to need spout!
     
  27. Offline

    isaac13_13

    This is GOOD, does it work?
     
  28. Offline

    bellettiboy

    how to have spout is that a client or if a plugin please give link
     
  29. Offline

    Feriscool

    Does it protect that area you claimed? Is it greif-proof?
     
  30. Offline

    GoldenX

    Hi!
    Can you update the plugin please? :) thks
     
    Merrick King likes this.
  31. Offline

    Valcorb

    Can someone update this plugin please?
     

Share This Page