راهنمای استفاده و توضیحات (README)
<p class="ds-markdown-paragraph" style="margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">SlapperCooldown</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);">An add‑on plugin for Slapper that adds a customizable delay for hitting Slapper NPCs.</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">What does this plugin do?</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);">SlapperCooldown prevents players from spamming interactions with NPCs by adding a cooldown (delay) between hits on Slapper entities. This helps balance gameplay and reduces server load.</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">Features</span></p><ul style="margin-top: 16px; margin-bottom: 16px; padding-left: 18px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><li><p class="ds-markdown-paragraph">Customizable cooldown per NPC</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Prevents NPC interaction spam</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Lightweight add-on for Slapper</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Configurable delay time</p></li></ul><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">Commands</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);">No commands – works automatically with Slapper.</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">Configuration</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);">After first run, edit <code style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, "Cascadia Mono", "Ubuntu Mono", "DejaVu Sans Mono", "Liberation Mono", "JetBrains Mono", "Fira Code", Cousine, "Roboto Mono", "Courier New", Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">plugin_data/SlapperCooldownV2/config.yml</code> to change the cooldown duration (in seconds).</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">Permissions</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);">No permissions.</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">Installation</span></p><ol start="1" style="margin-top: 16px; margin-bottom: 16px; padding-left: 18px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><li><p class="ds-markdown-paragraph">Download <code style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, "Cascadia Mono", "Ubuntu Mono", "DejaVu Sans Mono", "Liberation Mono", "JetBrains Mono", "Fira Code", Cousine, "Roboto Mono", "Courier New", Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">SlapperCooldown.phar</code>.</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Make sure <span style="font-weight: 600;">Slapper</span> is already installed.</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Put the <code style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, "Cascadia Mono", "Ubuntu Mono", "DejaVu Sans Mono", "Liberation Mono", "JetBrains Mono", "Fira Code", Cousine, "Roboto Mono", "Courier New", Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">.phar</code> into the <code style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, "Cascadia Mono", "Ubuntu Mono", "DejaVu Sans Mono", "Liberation Mono", "JetBrains Mono", "Fira Code", Cousine, "Roboto Mono", "Courier New", Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">plugins/</code> folder.</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Restart the server.</p></li></ol><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">Requirements</span></p><ul style="margin-top: 16px; margin-bottom: 16px; padding-left: 18px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><li><p class="ds-markdown-paragraph">PocketMine-MP</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">PHP 7.0+</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Slapper plugin</p></li></ul><p class="ds-markdown-paragraph" style="margin-top: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; background-color: rgb(21, 21, 23);"><span style="font-weight: 600;">Version</span> 1.0.0 – by jojoe77777.</p>