Jump to content

Fixed teleport locations

Closed 1.2.4

Merowech
Merowech

Posted

Greetings.

Teleportintegration with HOME teleport location works great as it shoud be.

But what about the fixed teleport location you can define in NTeleportation.

/town
/outpost
/banditcamp

etc.

I cant add them the the main section _homes on sections level 2 beneath the home points. They dont appear. Maybe because auf the Teleport integration the script looks only for "HOME"

Do i really have to define an extra Section on level 1 for those fixed teleport locations ?

Regards
Mero

MTriper

Posted

Hi, these commands can be added to any level or menu section. Here is an example of a config that works well on my server. Check if the players have privileges for these sections.
 

"Sections": [
  {
    "Section name": "Homes",
    "Enable this section?": true,
    "Section permission [required]": "_homes_all",
    "Section icon": "https://i.imgur.com/5jmbECE.png",
    "Fill icon with color below?": true,
    "Inactive section color [HEX or Unity RGBA]": "#fade54",
    "Active section color [HEX or Unity RGBA]": "#e3e3e3",
    "Command executed on behalf of the player [if empty, the subsections below are used]": "",
    "Command type [true - chat, false - console]": true,
    "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "",
    "Show this section only to those with permissions above?": false,
    "Show this section even to those who don't have permissions?": false,
    "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": -15,
    "Subsections": [
      {
        "Section name": "Home 1",
        "Enable this section?": true,
        "Section permission [required]": "home_1",
        "Section icon": "https://i.imgur.com/Q4wlQVX.png",
        "Fill icon with color below?": true,
        "Inactive section color [HEX or Unity RGBA]": "#fade54",
        "Active section color [HEX or Unity RGBA]": "#e3e3e3",
        "Command executed on behalf of the player [if empty, the subsections below are used]": "",
        "Command type [true - chat, false - console]": true,
        "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "",
        "Show this section only to those with permissions above?": false,
        "Show this section even to those who don't have permissions?": false,
        "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": -15,
        "Subsections": [
          {
            "Section name": "Teleport",
            "Enable this section?": true,
            "Section permission [required]": "teleport",
            "Section icon": "https://i.imgur.com/2S9oQB8.png",
            "Fill icon with color below?": true,
            "Inactive section color [HEX or Unity RGBA]": "#57de54",
            "Active section color [HEX or Unity RGBA]": "#e3e3e3",
            "Command executed on behalf of the player [if empty, the subsections below are used]": "home {0}",
            "Command type [true - chat, false - console]": true,
            "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "",
            "Show this section only to those with permissions above?": false,
            "Show this section even to those who don't have permissions?": false,
            "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0,
            "Subsections": []
          },
          {
            "Section name": "Remove",
            "Enable this section?": true,
            "Section permission [required]": "remove",
            "Section icon": "https://i.imgur.com/PECEX3I.png",
            "Fill icon with color below?": true,
            "Inactive section color [HEX or Unity RGBA]": "#f55757",
            "Active section color [HEX or Unity RGBA]": "#e3e3e3",
            "Command executed on behalf of the player [if empty, the subsections below are used]": "home remove {0}",
            "Command type [true - chat, false - console]": true,
            "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "",
            "Show this section only to those with permissions above?": false,
            "Show this section even to those who don't have permissions?": false,
            "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0,
            "Subsections": []
          }
        ]
      },
      {
        "Section name": "Add",
        "Enable this section?": true,
        "Section permission [required]": "home_add",
        "Section icon": "https://i.imgur.com/h1R6x2F.png",
        "Fill icon with color below?": true,
        "Inactive section color [HEX or Unity RGBA]": "#fade54",
        "Active section color [HEX or Unity RGBA]": "#e3e3e3",
        "Command executed on behalf of the player [if empty, the subsections below are used]": "home add {0}",
        "Command type [true - chat, false - console]": true,
        "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "",
        "Show this section only to those with permissions above?": false,
        "Show this section even to those who don't have permissions?": false,
        "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0,
        "Subsections": []
      },
      {
        "Section name": "Bandit",
        "Enable this section?": true,
        "Section permission [required]": "bandit",
        "Section icon": "https://i.imgur.com/h1R6x2F.png",
        "Fill icon with color below?": true,
        "Inactive section color [HEX or Unity RGBA]": "#fade54",
        "Active section color [HEX or Unity RGBA]": "#e3e3e3",
        "Command executed on behalf of the player [if empty, the subsections below are used]": "bandit",
        "Command type [true - chat, false - console]": true,
        "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "",
        "Show this section only to those with permissions above?": false,
        "Show this section even to those who don't have permissions?": false,
        "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0,
        "Subsections": []
      },
      {
        "Section name": "Outpost",
        "Enable this section?": true,
        "Section permission [required]": "outpost",
        "Section icon": "https://i.imgur.com/h1R6x2F.png",
        "Fill icon with color below?": true,
        "Inactive section color [HEX or Unity RGBA]": "#fade54",
        "Active section color [HEX or Unity RGBA]": "#e3e3e3",
        "Command executed on behalf of the player [if empty, the subsections below are used]": "outpost",
        "Command type [true - chat, false - console]": true,
        "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "",
        "Show this section only to those with permissions above?": false,
        "Show this section even to those who don't have permissions?": false,
        "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0,
        "Subsections": []
      }
    ]
  }
]

 

Merowech

Posted

Thx for quick response !!!

It works now !

I forgot that i had subsections in those fixed teleportpoint sections for teleport and cooldown bypass.

After adding "_all" and reassign the rights all work like a charm.

But your example helped me finding my mistake. Thanks.

Great plugin !!!!!!! saves my three other plugins (two own written simple wheels and UniversalUI). All in one now !!!

MTriper

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.