Inactive [FUN] RegionTip- give player a tip when enter or leave a region [1.3.2-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by mc001, Oct 6, 2012.

  1. Offline

    mc001

    RegionTip- enter or leave region message:
    Version: v1.0
    Describe: This plugin can show player a message when player enter or leave a region.
    You can divide a world into serval regions and show player different messages when they enter different regions.You can give player a message when they move too far from the spawn location or enter the certain system-shop region.But the most important is to config the config.yml file.See the following:
    Commands:
    • /regionTip reloadConfig reload the config.yml file
    Config.yml File:
    PHP:
    #command '/regionTip reloadConfig' need permission:'regionTipReloadConfig'
     
    #how many milliseconds before the function take effect after the plugin is enabled
    delay2000
    #how many milliseconds do this function check a time
    checkInterval1000
     
    #the same level if check through then won't check the next
    #in the same level,when a player is in the new region,if true show the enter-tip(won't show leave-tip),otherwise show the leave-tip.
    #if a player don't has the permission,he won't 'enter or leave' the related region,"" represented all players have the permission
    level0:    #you can add more levels,each level is independent
      
    world0"world"    #the name of the world
      
    permission0"enter-leave-region"    #the permission name,you can define it,if a player did't has the permission,then this region is 'transparent' to this player
      
    in0-0:    #this means if player is in the region,then trigger it
        
    location0"-3000,0,-3000"    #location0 and location1 represented the two opposite points of a rectangle,the digit in the location is casual
        
    location1"3000,256,3000"
      
    out0-0:    #this means if player is out of the region,then trigger it
        
    location0"-9000,0,3000"
        
    location1"-6000,256,-3000"
      
    tipIn0-0"&6you enter the &apower&6-represented&d center-land-region&6."    #if player first trigger it,it will be shown to player
      
    tipIn0-1"&6this is the second line test."
      
    tipOut0-0"&6you leave the &apower&6-represented&d center-land-region&6."    #if player first don't trigger it,it will be shown to player
     
      
    world1"world"
      
    permission1""
      
    in1-0:
        
    location0"3000,0,-3000"
        
    location1"9000,256,3000"
      
    tipIn1-0"&6you enter the &ajustice&6-represented&d east-land-region&6."
      
    tipOut1-0"&6you leave the &ajustice&6-represented&d east-land-region&6."
     
      
    world2"world_nether"
      
    permission2"enter-leave-nether"
      
    in2-0:
        
    location0"-5000,0,-5000"
        
    location1"5000,256,5000"
      
    tipIn2-0"&7you enter the &aevil&7-represented&d nether-region&7."
      
    tipOut2-0"&7you leave the &aevil&7-represented&d nether-region&7."
     
      
    world3"world_the_end"
      
    permission3"enter-leave-end"
      
    in3-0:
        
    location0"-3000,0,-3000"
        
    location1"3000,256,3000"
      
    tipIn3-0"&7you enter the &adead&7-represented&d END-region&7."
      
    tipOut3-0"&7you leave the &adead&7-represented&d END-region&7."
     
    #language
    #format:"&" will be replaced by "\u00A7","\&" will be replaced by"&"
    lang0"region tip plugin v1.0 has been enabled!"
    lang1"region tip plugin v1.0 has been disabled!"
    lang2"regionTip command"
    lang3"/regionTip reloadConfig"
    lang4"reloading Config..."
    lang5"reload config success."
    lang6"reload the config.yml"
    lang7"Vault plugin or permission plugin not found,failed to enable this plugin!"
    lang8"you don't has the permission."

    Config Examples:
    • Config:
    PHP:
    level0:
      
    world0"world"
      
    permission0""
      
    in0-0:
        
    location0"-3000,0,-3000"
        
    location1"3000,256,3000"
      
    tipIn0-0"in"
      
    tipOut0-0"out"
    Function: When player enter the region represented by the two locations,he will be shown "in" message.When leave the region,he will be shown "out" message.
    • Config:
    PHP:
    level0:
      
    world0"world"
      
    permission0""
      
    out0-0:
        
    location0"-3000,0,-3000"
        
    location1"3000,256,3000"
      
    tipIn0-0"in"
      
    tipOut0-0"out"
    Function: When player leave the region represented by the two locations,he will be shown "in" message.When enter the region,he will be shown "out" message.
    (if player trigger a region,then will end checking the others in the same level)

    Installation:There's a regionTip_fyx.jar in the zip file.It's the plugin,buy also need format.jar to support it which is also in the zip file.Put them all in the plugins folder.

    Features:
    • give player a tip when enter or leave a region
    • multi-levels,multi-regions
    • permission supported
    Download:here
    Source Code: none

    Changelog:
    Version 1.0
    • Released the plugin
    ps:sorry for my english.:p
     

    Attached Files:

  2. Offline

    evileyecc

    it is a very nice plugin for some server. i like this plugin.but now i don't use carftbukkit. ;)
     

Share This Page