1
0
ultimatedocs/docs/.vitepress/dist/assets/hooks_autorank.md.D8-i8QYK.js

20 lines
7.4 KiB
JavaScript
Raw Normal View History

2024-04-18 11:30:21 +02:00
import{_ as s,c as i,o as a,a4 as e}from"./chunks/framework.DMuZ8-s6.js";const u=JSON.parse('{"title":"AutoRank en Ultimate Kingdom Plugin","description":"Koppeling tussen Ultimate kingdom plugin en AutoRank","frontmatter":{"lastUpdated":true,"aside":false,"title":"AutoRank en Ultimate Kingdom Plugin","description":"Koppeling tussen Ultimate kingdom plugin en AutoRank","meta_keywords":"kingdom plugin, ultimate, minecraft plugin, spigot ,paper,folia, gameplay, addons gameplay, events","meta_url":"https://ultimatekingdom.nl"},"headers":[],"relativePath":"hooks/autorank.md","filePath":"hooks/autorank.md"}'),n={name:"hooks/autorank.md"},t=e(`<h1 id="autorank" tabindex="-1">AutoRank <a class="header-anchor" href="#autorank" aria-label="Permalink to &quot;AutoRank&quot;"></a></h1><p><a href="https://www.spigotmc.org/resources/autorank.3239/" target="_blank" rel="noreferrer">Autorank</a> is een plug-in voor automatische uitvoeren van regels.</p><h2 id="autorank-requirements" tabindex="-1">AutoRank Requirements <a class="header-anchor" href="#autorank-requirements" aria-label="Permalink to &quot;AutoRank Requirements&quot;"></a></h2><p>De onderstaande &#39;requirements&#39; zijn in autorank toegevoegd.</p><table><thead><tr><th>Tables</th><th style="text-align:center;">Omschrijving</th></tr></thead><tbody><tr><td>kingdompoints</td><td style="text-align:center;">geeft punten van de kingdom van speler</td></tr><tr><td>kingdomplayerpoints</td><td style="text-align:center;">geeft punten van speler</td></tr><tr><td>haskingdom</td><td style="text-align:center;">geeft true/false voor kingdom van speler</td></tr></tbody></table><h3 id="voorbeeld-1" tabindex="-1">Voorbeeld 1 <a class="header-anchor" href="#voorbeeld-1" aria-label="Permalink to &quot;Voorbeeld 1&quot;"></a></h3><p>Dit geeft een speler een andere level als de punten van een kingdom 10 zijn</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">Newbie </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">Path</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> prerequisites</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> in</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> group</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Kingdom-loos&#39;</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> //dit ziet de speler als hij niet in een kingdom zit</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> requirements</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> haskingdom</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">//speler moet lid worden van een kingdom</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;true&#39;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> results</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> command</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;k give &amp;p 10&#39;</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> //geef speler 10 punten</span></span></code></pre></div><h3 id="voorbeeld-2" tabindex="-1">Voorbeeld 2 <a class="header-anchor" href="#voorbeeld-2" aria-label="Permalink to &quot;Voorbeeld 2&quot;"></a></h3><p>Geef de spelerlevel 1 als hij 10 punten heeft.</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">Newbie </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">Path</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> prerequisites</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> in</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> group</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Minder dan 10 punten&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> # </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">//dit ziet de speler als hij geen 10 punten heeft</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> requirements</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> kingdomplayerpoints</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">//de puntenaantal van de speler</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;10&#39;</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> //10 punten</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> results</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> command</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;k setlevel player &amp;p level2&#39;</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // geef speler een andere level</span></span></code></pre></div>`,11),l=[t];function p(h,k,r,d,o,g){return a(),i("div",null,l)}const c=s(n,[["render",p]]);export{u as __pageData,c as default};