Sueta

[1.8-1.15] TownyLocations

1.0

Look at the towny plots list

·Plugin

What does this plugin do?

This simple plugin is for viewing the plots of a specific owner. And if you have the permission can teleport towards the center of those plots.

An example of how it works:

Depends on TownyAdvanced
This plugin has been tested with versions TownyAdvanced:
- Towny-0.93.0.0 (1.8-1.12)
- Towny-0.96.0.0 (+1.13)
And it works correctly

Support Vault

Config

The plugin is 99%, not to say 100%, configuration.
Into config file you have the explanation for each section

#########################  
 #    TownyLocations     #  
 #   By matahombress     #  
 #########################  
 #  
 ####       SUGGESTION:  
 ####   IF YOU OPEN FILE WITH ONE EDITOR AS NOTEPADD++, SUBLIMETEXT...  
 ####   PUT LANGUAJE->JAVA  
 #  
 # prefix:                 Select prefix plugin  
 # enable_custom_commands: Enabled shorcut for /townylocations self_plots and /townylocations other_plots <name>  
 # self_plots_command:     Shorcut for /townylocations self_plots  
 # other_plots_command:    Shorcut for /townylocations other_plots <name>  
 # enable_hover:           If enable text when mouse go hover  
 # text_hover:             If is enable hover into template, text show  
 # enabled_teleport:       If have the permission -> Teleport to coord  
 # amount_for_page:        Amount plots info for page  
 # templace_plots:         Templace for the the plots information  
 #       {number}  -> Numer plot (1,2,3,4,5...), the identificator  
 #       {town}    -> Town name in which it is found the plot  
 #       {x}{y}{z} -> The coordinates of the central block approximately and the coord tp  
 #   
prefix   :   "&8&l[&4Towny&fLocations&8&l]&r "   
enable_custom_commands   :  true  
self_plots_command   :  /myplots  
other_plots_command   :  /theirsplots  
enabled_hover   :  true  
text_hover   :   "&bClick here to teleport {x} {y} {z}"   
enabled_teleport   :  true  
amount_for_page   :  5  
templace_plots   : 
    -  "&8&m------------------------------- "   
    - "&2Plot &a{number}  &8/  &8- &2Town   :   &a{town}"   
    - "&8        /   &8- &2Coord   :   &a{x}   {  y  }   {  z  }   "
Commands

[] > Optional
<> > Required

/tloc help : Show help message
/tloc self_plots [page] : Show plots list
/tloc other_plots <Player> [page] : Show other player plots list
/tloc tp [Player] <id> : Teleport to self plot or other player adding the plot id
/tloc reload : Reload config

Permission

townylocations.* : Give all permissions
townylocations.help : See help message of plugin
townylocations.self_plots : Show self plots list
townylocations.other_plots : Show other player plots list
townylocations.teleport_plots : Teleport self plots
townylocations.other_teleport_plots : Teleport other player plots
townylocations.reload : Reload configuration

Lang.yml
commands  :  
    help   : 
        -  "&8&m-------[ &4Towny&fLocations&8&l &8&m]-------"  
        -  "&9[] &7-> &9Opcional"  
        -  "&e<> &7-> &9Required"   
        - "&7/tloc help   :   &eShow  mensage help  " 
        - "  &7/tloc self_plots  [  page  ]   :   &e  Show selft plots claim information  " 
        - "  &7/tloc other_plots <Player>  [  page  ]   :   &e  Show other player plots claim information  " 
        - "  &7/tloc tp  [  Player  ]  <index>  :   &e  Teleport to specific number plot  " 
        - "  &7/tloc reload  :   &eReload  config  " 
    reload: "  Reload config success  " 
    plots_header: 
        - "   " 
        - "  &6.o0o._____.  [  &e  {  player  }  &6  ]  ._____.o0o.  " 
        - "   " 
    previus_page: "  &e<<<&r  " 
    next_page: "  &e>>>&r  " 
    disabled_previus_page: "  &7<<<&r  " 
    disabled_next_page: "  &7>>>&r  " 
    previus_hover: "  Click to previus page  " 
    next_hover: "  Click to next page  " 
    left_separation_links_page: "             " 
    center_separation_links_page: "             " 
    not_permission: "  &c&l!&7&l You don't have permission for this command  " 
correct_use_commands: 
    self_plots: "  /tloc selft_plots  [  page  ]   " 
    other_plots: "  /tloc other_plots <Player>  [  page  ]   " 
    tp: "  /tp  [  Player  ]  <index>  " 
errors: 
    correct_use: "  &4Use  :   &c"   
    not_exist_plot   :   "&cNot exists one plot with this number"   
    player_not_found   :   "&cPlayer with {name} not registry into Towny"   
    not_console   :   "&cThis command can't use into console"   
    no_numeric   :   "&cNeed a number"


If the plugin has been useful, leave a review
If you have any error. Talk with me mp or Discord (matahombres/Jose#6452)

Similar projects

Plugin →