Skocz do zawartości
  • 0

SkinyV2


BlackRode

Pytanie

16 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Authme, essentials-2,x-snapshot enssentialschat-2.x-snapshot i spawn, funnyguilds motdmanager, multiverse core, worldy, mineproxy antiproxy anticroptrample , vanish, viaversons i samistigefix
Drugi to samo tylko kilka pluginów w tym na czat, autowiadomości, drop, topki oraz skript z 4 skryptami.
@KrejzolekPRO

Odnośnik do komentarza
https://skript.pl/temat/27275-skinyv2/#findComment-180085
Udostępnij na innych stronach

  • 0

@BlackRode, podaj wersję/link z którego pobierałeś BungeeCorda (najlepiej do bezpośredniego pobrania) oraz wersję pluginu SkinsRestorer.
Ja osobiście korzystam z innego rozwiązania ze SkinsRestorerem. W konfiguracji SkinsRestorera na serwerach gry podłączam pod tą samą bazę danych. Efekt jest praktycznie taki sam. 

Odnośnik do komentarza
https://skript.pl/temat/27275-skinyv2/#findComment-180329
Udostępnij na innych stronach

  • 0
42 minuty temu, Rejszpat napisał:

@BlackRode, podaj wersję/link z którego pobierałeś BungeeCorda (najlepiej do bezpośredniego pobrania) oraz wersję pluginu SkinsRestorer.
Ja osobiście korzystam z innego rozwiązania ze SkinsRestorerem. W konfiguracji SkinsRestorera na serwerach gry podłączam pod tą samą bazę danych. Efekt jest praktycznie taki sam. 

Wersja 1.7-1.1.12.2
Zainstalowana przez hosting crafthost.
Możesz podać ten sposób ?? + czy folderze skinsrestorer powinno być coś jeszcze niż pusty config ?

Odnośnik do komentarza
https://skript.pl/temat/27275-skinyv2/#findComment-180331
Udostępnij na innych stronach

  • 0

ehh... Zainstaluj tego SkinsRestorera https://www.spigotmc.org/resources/skinsrestorer.2124/download?version=205723

restartnij serwer

w folderze będziesz miał config.yml:

#This option disables automatic requesting & applying skins on join
#Commands still work
DisableOnJoinSkins: false

#This is for preventing skin change spam
SkinChangeCooldown: 30

# Mojang API (Used to get our skin data) has request limit:
# You can only request skin data of the same player only once in 10 minutes
# 
# To bypass this, here are some our default alternative APIs to get the skin data
# Feel free to change them to your own
Alternatives:
  SkinPropertyURL: https://mcapi.ca/name/uuid/
  NEWUUID: http://mcapi.ca/uuid/player/
 
#Enable or disable default skins
#If more nicknames will be in the list, server will
#always choose a random one
DefaultSkins:
  Enabled: false
  Names:
    - Steve
    
#Disable skin names
#Put skins you want to disable on the list
#Player wont be able to set these skins
DisabledSkins:
  Enabled: false
  Names:
    - Steve
    
#Multi-Bungee support
#If you use more proxy servers and you
#experience issues with skin visibility between proxies
#enable this option
#
#RedisBungee enables this option automatically
MultiBungee:
  Enabled: false

# MySQL database for large servers
# or just to boost the performance
MySQL:
  Enabled: false
  Host: localhost
  Port: 3306
  Database: db
  SkinTable: Skins
  PlayerTable: Players
  Username: root
  Password: pass
  
Updater:
  Enabled: true
#Enable or disable the updater check on enable.

I musisz tam gdzie masz

MySQL:
  Enabled: false
  Host: localhost
  Port: 3306
  Database: db
  SkinTable: Skins
  PlayerTable: Players
  Username: root
  Password: pass

podłączyć każdy serwer gry pod jedną baze danych

Przypominam że SkinsRestorera nie wgrywasz na BungeeCorda. Wgrywasz tylko na serwery gry.

Konfiguracja SkinsRestorera ma być taka sama na każdym z serwerów gry.

Odnośnik do komentarza
https://skript.pl/temat/27275-skinyv2/#findComment-180351
Udostępnij na innych stronach

  • 0
[09:22:15] [Server thread/INFO]: [SkinsRestorer] Enabling SkinsRestorer v13.3
[09:22:15] [Server thread/INFO]: [0;33;1m[[0;32;22mSkinsRestorer[0;33;1m] [0;32;1mDetected Minecraft [0;33;1mv1_8_R1[0;32;1m, using [0;33;1mUniversalSkinFactory[0;32;1m.[m
[09:22:15] [Server thread/INFO]: [0;33;1m[[0;32;22mSkinsRestorer[0;33;1m] [0;32;1mDetected [0;33;1mMultiverse-Core[0;32;1m! Using it for dimensions.[m
[09:22:15] [Server thread/ERROR]: Error occurred while enabling SkinsRestorer v13.3 (Is it up to date?)
java.lang.NoClassDefFoundError: com/google/gson/JsonElement
    at skinsrestorer.shared.utils.updater.update.spiget.SpigetUpdateAbstract.checkForUpdate(SpigetUpdateAbstract.java:86) ~[?:?]
    at skinsrestorer.bukkit.SkinsRestorer.onEnable(SkinsRestorer.java:150) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.ClassNotFoundException: com.google.gson.JsonElement
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_121]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_121]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_121]
    ... 13 more

 

Edytowane przez ThatsVylence
Nieaktywny

Wstawiam w CODE.

Odnośnik do komentarza
https://skript.pl/temat/27275-skinyv2/#findComment-180542
Udostępnij na innych stronach

  • 0

Ehh.. https://dev.bukkit.org/projects/changeskin/files/2527963
Wgraj ChangeSkin zamiast SkinsRestorer na każdy serwer ze Spigotem, 

W konfiguracji musisz podłączyć wszystkie konfiguracje pod jedną bazę.

# ChangeSkin config

# Here you can specify default skins for player who do not have a skin
# The entries from this list will be selected in random order.
#
# This list should either contain the UUID of the skin owner or the row id inside the skin database.
#
# Lists are created like this:
#default-skins:
#    - 0aaa2c13-922a-411b-b655-9b8c08404695
#    - 069a79f4-44e9-4726-a5be-fca90e38aaf5
#    - 1337 # Row ID inside the database
#
# If this list is empty no skin will be selected
default-skins: []

# If the player does not have a skin and hasn't chosen one with /setskin
# this will try to re-download using the username of the player
restoreSkins: false

# Should the skins apply instantly without re-login
# The player will be invisible for a shorten time
instantSkinChange: true

# Should the plugin check for skin specific permissions nodes like
# changeskin.skin.whitelist.uuid
# changeskin.skin.whitelist.* allows all skins
#
# The plugin checks only if the player has one of these and will not check all of them
# Examples:
#   Whitelist:
#       Give the players the permission changeskin.skin.whitelist.uuid
#       or changeskin.skin.whitelist.* for all skins
#
#   Blacklist:
#       Give your players this permission changeskin.skin.whitelist.*
#       and a negative (- before the permission) permission: '-changeskin.skin.whitelist.uuid'
#       |-> This means all skins are allowed except the ones with the uuid in the blacklist list
skinPermission: false

# A number in seconds which the player have to wait before changing the skin again
cooldown: 0

# How many requests should be established to the Mojang API
# This option exists in order to workaround the rate-limiting. Name -> UUID are fetched in the same way like heads
mojang-request-limit: 600

# Only relevant for BungeeCord
# Here you can ignore certain servers in order to make use of lazy loading -> load the player data only
# if they are on the allowed servers
#
# This can be used against bot attacks. If this is empty, nothing will be ignored.
server-blacklist: []
# Lists are created like this:
#server-blacklist:
#    - pvp
#    - lobby

# Actually I don't want that you put your credentials here, but it seems there is no easier way to do it.
# See my statement here: https://www.spigotmc.org/threads/changeskin.138380/page-15#post-1736265
#
# You can follow this guide on how to upload and use a skin:
# https://www.spigotmc.org/threads/changeskin.138380/page-19#post-1792019
#
# Example:
# upload-accounts:
#     - EMAIL:PASSWORD
#     - EMAIL:PASSWORD
upload-accounts: []

# If you have a BungeeCord server, this option might be relevant for you.
# If you activate this option, the permission will be checked on the Bukkit server and only on the Bukkit server.
#
# This requires to install the plugin on the Bukkit server too in order to send the response to the bungeecord server
#
# You still have to give the users the permission on the BungeeCord server in order to execute the command, but the
# Bukkit server will verify if the user has the permissions on the backend server too.
bukkit-permissions: false

# This automatically re-fetches the skin from Mojang if the skin is older than x minutes
# This value should be at least one minute, because that's the rate-limit by Mojang
# -1 disables it
auto-skin-update: -1

# Database configuration
# Warning: If you use BungeeCord, you should switch to MySQL, because BungeeCord has only a driver for MySQL
storage:
# Single file SQLite database
	driver: com.mysql.jdbc.Driver
	host: NAZWA HOSTA
	database: NAZWA BAZY
	username: UŻYTKOWNIK BAZY
	password: HASŁO
	port: 3306
	useSSL: true

# MySQL / MariaDB
# If you using Sponge please change the driver name to org.mariadb.jdbc.Driver
    # driver: com.mysql.jdbc.Driver
    # host: 127.0.0.1
    # port: 3306
    # database: ChangeSkin
    # username: myUser
    # password: myPassword
    # It's strongly recommended to enable SSL and setup a SSL certificate if the MySQL server isn't running on the same
    # machine
    # useSSL: false


# HTTP proxies for connecting to the Mojang servers in order to resolve the player name to UUID.
# This is a workaround to prevent rate-limiting by Mojang. These proxies will only be used once your server hit
# the rate-limit or the custom value above.
# Please make sure you use reliable proxies.
proxies:
  # 'IP:Port' or 'Domain:Port'
  # - 'xyz.com:1337'
  # - 'test.com:5131'

@BlackRode
Jeśli byś miał problem ze zrobieniem tego to podaj na PW IP serwera wejdę i pomogę ;) 

Edytowane przez Rejszpat
Odnośnik do komentarza
https://skript.pl/temat/27275-skinyv2/#findComment-180543
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...