Home›Java›Mods›Server Textures || Spigot 1.8.8 / 1.9
Server Textures || Spigot 1.8.8 / 1.9
ModsJava

Server Textures || Spigot 1.8.8 / 1.9

⬇ Download on Spigot
Server Textures || Spigot 1.8.8

This is my first plugin released !

Description:
It's a very simple plugin to force players accept the Resource Packs or he will be kicked !
The plugin check the value return on resource pack prompt. (ACCEPTED, DECLINED, SUCCESSFULLY_LOADED & FAILED_DOWNLOAD)
You can disable the kick by the command you whant ! You also can add a command for player have accepted.

No dependency needed !
You need to set a ressource-pack url in server.properties otherwise the plugin can't work

If you update the plugin, please STOP the server first (or unload with plugman) and delete the config file !


[​IMG]​

Commands:
[​IMG] ​

Config;
Spoiler: config.yml
Code (Text):
#PleaseMsg, used when kick is off, send message "ST_PLEASE_MESSAGE" in lang.yml#
PleaseMsg: false
#ST_URL is just used for the placeholder %url% in PleaseMsg !#
ST_URL: http://path/to/resource/pack.zip
#Command
DeclineCmd:
  enabled: true
  commands:
    - "/effect %player% 2 999999 10"
    - "/tell %player% Please accept the ressource pack for clean this effect!"
AcceptCmd:
  enabled: true
  commands:
    - "/effect %player% clear"
    - "/give %player% cookie 1"
    - "/tell %player% Enjoy the free Cookie :D"
#Bypass/Kick true/false
Bypass: false
Kick: true
WorldResource: true
Spoiler: resource.yml
Code (Text):
#==============================================================================#
default: 'http://put/same/resource/pack/url/from/server.properties/'
#==============================================================================#
Worlds:
    world1: 'http://path/to/resource/pack.zip'
    world2: 'http://path/to/another/resource/pack.zip'
#==============================================================================#
Customs:
    custom1: 'http://path/to/resource/pack.zip'
    custom2: 'http://path/to/another/resource/pack.zip'
Messages:
Spoiler: lang.yml
Code (Text):
#Message en
ST_PREFIX: '&7[&bServerTextures&7]'
ST_ENABLED: '&aEnabled'
ST_DISABLED: '&cDisabled'
ST_KICK: '&bKick'
ST_KICK_DISABLED: '&cKick are now disabled'
ST_KICK_ENABLED: '&aKick are now enabled'
ST_BYPASS: '&bBypass'
ST_BYPASS_DISABLED: '&cBypass are now disabled'
ST_BYPASS_ENABLED: '&aBypass are now enabled'
ST_RELOAD_SUCESS: '&aSuccessfully reloaded!'
ST_DECLINE: '&bCommand on decline'
ST_DECLINE_DISABLED: '&cCommand on decline are now disabled'
ST_DECLINE_ENABLED: '&aCommand on decline are now enabled'
ST_ACCEPT: '&bCommand on accept'
ST_ACCEPT_DISABLED: '&cCommand on accept are now disabled'
ST_ACCEPT_ENABLED: '&aCommand on accept are now enabled'
ST_KICK_MESSAGE: '&cYou must accept the server Resource Packs'
ST_THANKS_MESSAGE: '&6Resource Packs Downloading...'
ST_DOWNLOAD_MESSAGE: '&aResource Packs is Ready!'
ST_PLEASE_MESSAGE: '&eHey &a&l%player% &r&e! Please download the Resource Packs here => &a%url%'
ST_DENY_MESSAGE: '&cYou do not have permission to use that!'


Permissions:
Code (YAML):
permissions:
  st.help
:
    default
: op
    description
: Help permission
  st.info
:
    default
: op
    description
: Info permission
  st.reload
:
    default
: op
    description
: Reload permission
  st.toggle
:
    default
: op
    description
: Allow toggle for kick, bypass and commands
  st.bypass
:
    default
: op
    description
: Bypass permission
  st.reset
:
    defautl
: op
    description
: Reset Resource Pack
  st.reset.other
:
    defautl
: op
    description
: Reset Resource Pack for other or for all online player
  st.set
:
    defautl
: op
    description
: Set Resource Pack
  st.set.other
:
    defautl
: op
    description
: Set Resource Pack for other or for all online player

To do:
Know Bugs:

- Console send "WARN handleDisconnection() called twice" when player was kicked. (Spigot issue)

Thanks for viewing/downloading my plugin !
Sorry if my english is not realy good, is not my native language :)

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Server Textures || Spigot 1.8.8 / 1.9 is a free Minecraft Java mod. Downloaded 1,399 times (via Spigot). Download it and open it directly in the game.

Explore more