Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] skrypt


MineGuild

Rekomendowane odpowiedzi

Opublikowano

Witam serdecznie.

Potrzebuję waszej pomocy przy skrypcie na gildie. (UltimateClans)

Otóż chodzi mi o to że przed wgraniem pluginu mam rangi na czacie, A gdy plugin

Wgram to te rangi na czacie mi znikają. Jak mam zrobić aby te rangi na czacie gdy mam ten skrypt na gildie?

Tutaj daję config:

Za pomoc daje limit like

bdQd.png

ZcQd.png - Bez gildii

Chcę tylko rangi aby się wyświetlały przed nickiem.

# -- Chat Manager -- #
on chat:
	if {ultimateclans.chatmanager} is true:
		if player's world is "{@world}":
			# '
			if {ultimateclans.chatmanager.rank} is "rank":
				if {ultimateclans.%name of player%.member} is true:
					send "&f[&a%{ultimateclans.%name of player%.clan.tag}%&f] %display name of player% &7>> &3%message%" to all players
					cancel event
					stop
				if {ultimateclans.%name of player%.owner} is true:
					send "&f[&a%{ultimateclans.%name of player%.owner.tag}%&f] %display name of player% &7>> &3%message%" to all players
					cancel event
					stop
				else:
					send "%display name of player% &7>> &3%message%" to all players
					cancel event
					stop
			else if {ultimateclans.chatmanager.rank} is "msg":
				if {ultimateclans.%name of player%.member} is true:
					set message to "&f[&a%{ultimateclans.%name of player%.clan.tag}%&f] %colored player's suffix% &7>> &3%message%"
					stop
				else if {ultimateclans.%name of player%.owner} is true:
					set message to "&f[&a%{ultimateclans.%name of player%.owner.tag}%&f] %colored player's suffix% &7>> &3%message%"
					stop
				else:
					stop
			else:
				if {ultimateclans.%name of player%.member} is true:
					send " &f[&a%{ultimateclans.%name of player%.clan.tag}%&f] &7%player% &7>> &3%message%" to all players
					cancel event
					stop
				if {ultimateclans.%name of player%.owner} is true:
					send "&f[&a%{ultimateclans.%name of player%.owner.tag}%&f] &7%player% &7>> &3%message%" to all players
					cancel event
					stop
				else:
					send "%display name of player% &f>> &3%message%" to all players
					cancel event
					stop

Rangi z essentialsa daje. Moze sie przydadza. help

 Gracz: '&f[&7Gracz&f] &7{DISPLAYNAME} &6->> &8&o{MESSAGE}'
    Vip: '&f[&2Vip&f] &2{DISPLAYNAME} &6->> &8&o{MESSAGE}'
    SuperVIP: '&f[&6SuperVIP&f] &6{DISPLAYNAME} &6->> &8&o{MESSAGE}'
    Wlasciciel: '&f[&4HeadAdmin&f] &4{DISPLAYNAME} &6->> &4{MESSAGE}'
Opublikowano

@Możesz mi to bardziej wytłumaczyć co i jak?

if {ultimateclans.%name of player%.owner} is true:
     if {cos.prefix} is true
     send "&f[&a%{ultimateclans.%name of player%.owner.tag}%&f] &4[Admin&4] &7%player% &7>> &3%message%" to all players
     cancel event
     stop

Ogarniasz ? :).

Opublikowano

Tak ogarniam. A jak zrobic zeby vip mial [vip] ?


 -- Chat Manager -- #
on chat:
	if {ultimateclans.chatmanager} is true:
		if player's world is "{@world}":
			# '
			if {ultimateclans.chatmanager.rank} is "rank":
				if {ultimateclans.%name of player%.member} is true:
					send "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] %display name of player% &6>> &3%message%" to all players
					cancel event
					stop
				if {ultimateclans.%name of player%.owner} is true:
					send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] %display name of player% &6>> &3%message%" to all players
					cancel event
					stop
				else:
					send "&7%display name of player% &6>> &3%message%" to all players
					cancel event
					stop
			else if {ultimateclans.chatmanager.rank} is "msg":
				if {ultimateclans.%name of player%.member} is true:
					set message to "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] %colored player's suffix% &6>> &3%message%"
					stop
				else if {ultimateclans.%name of player%.owner} is true:
					set message to "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] %colored player's suffix% &6>> &3%message%"
					stop
				else:
					stop
			else:
				if {ultimateclans.%name of player%.member} is true:
					send " &7[&a%{ultimateclans.%name of player%.clan.tag}%&7] &f[&4Admin&f] &7%player% &6>> &3%message%" to all players
					cancel event
					stop
				if {ultimateclans.%name of player%.owner} is true:
					send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] &f[&4Admin&f] &7%player% &6>> &3%message%" to all players
					cancel event
					stop
				else:
					send "&7%display name of player% &6>> &3%message%" to all players
					cancel event
					stop
		else:

Nie działa mi to

Opublikowano

Masz starą wersję skryptu. Pobierz 1.5.6_5 w tych nie ma już ChatManagera na sztywno, tylko masz UltimateChat, który ustawiasz {TAG} {PLAYER} itd :)

dzikoysk.net && panda-lang.org && bukkit.pl

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...