Yigitt05
Taş Madencisi
- En iyi cevaplar
- 0
Arkadaşlar featherboard pluginim eskiden normaldi fakat son günlerde bir admin'in yetkisini aldım ve almadan 1 dakika falan önce featherboard sadece yetkisini aldığım adminin nicki ve bilgilerini gösteriyordu herkeste
Adminliğini geri verdim ama GOguz gözüküyor herkes
Yardım edebilirmisiniz ?
Ayrıca Kredi için kullandığım skript dosyamdaki lapis kazma sayısı da dondu ikisini de buraya bırakıyorum
Skript ;
Bu da FeatherBoard'ımın config.yml si;
Adminliğini geri verdim ama GOguz gözüküyor herkes
Yardım edebilirmisiniz ?
Ayrıca Kredi için kullandığım skript dosyamdaki lapis kazma sayısı da dondu ikisini de buraya bırakıyorum
Skript ;
Kod:
variables:
{lapiskazma.%player%} = 0
{kredi.%player%} = 0
on break of lapis ore:
if player has permission "kredisansi.use":
if {lapiskazma.%player%} is greater than 9999:
execute console command "krediver %player% 1"
add -9999 to {lapiskazma.%player%}
send "&8[&3Banka&8] &6Tebrikler. Bizden 1 Kredi Kazandiniz"
else:
add 2 to {lapiskazma.%player%}
else:
if {lapiskazma.%player%} is greater than 9999:
execute console command "krediver %player% 1"
add -9999 to {lapiskazma.%player%}
send "&8[&3Banka&8] &6Tebrikler. Bizden 1 Kredi Kazandiniz"
else:
add 1 to {lapiskazma.%player%}
command /lapis:
trigger:
send "&8[&3Banka&8] &4%{lapiskazma.%player%}% &6Tane Lapis Kazdin"
command /krediver <player> <int>:
usage: "&eKullanim: &4/krediver <oyuncu> <verilecek kredi sayisi>"
permission: krediver.admin
permission message: &8[&3PolyMC&8] &cBu Komutu Kullanmaya Izniniz Yok!
trigger:
arg 1 is set:
add arg-2 to {kredi.%arg 1%}
send "&8[&3PolyMC&8] &6Oyuncuya basariyla gonderildi"
command /kredim:
trigger:
send "&aKredin = &6%{kredi.%player%}%"
command /kredigonder <text>:
usage: &8[&a+&8] &6 Gonderecegin kisiyi actlirlemelisin!
trigger:
if arg 1 is set:
if {kredi.%player%} is greater than 0:
execute console command "krediver %arg-1% 1"
send "&8[&a+&8] &6 Kredi oyuncuya basariyla gonderildi"
add -1 to {kredi.%player%}
else:
send "&8[&a+&8] &6 Yeterli kredin yok!"
else:
send "&8[&a+&8] &6 Gonderecegin kisiyi actlirlemelisin!"
#--------------------------------------------------------------------------------------------------
#Kredi ozellikleri
command /kredicevir25m:
trigger:
if {kredi.%player%} is greater than 14:
execute console command "money give %player% 25000000"
add -15 to {kredi.%player%}
send "&8[&3Banka&8] &615 Kredi 25 Milyon Liraya Cevrildi"
else:
send "&8[&3Banka&8] &6Yeterli Krediye Sahip Degilsin"
command /kredicevir50m:
trigger:
if {kredi.%player%} is greater than 24:
execute console command "money give %player% 50000000"
add -25 to {kredi.%player%}
send "&8[&3Banka&8] &625 Kredi 50 Milyon Liraya Cevrildi"
else:
send "&8[&3Banka&8] &6Yeterli Krediye Sahip Degilsin"
command /kredicevir75m:
trigger:
if {kredi.%player%} is greater than 39:
execute console command "money give %player% 75000000"
add -40 to {kredi.%player%}
send "&8[&3Banka&8] &640 Kredi 75 Milyon Liraya Cevrildi"
else:
send "&8[&3Banka&8] &6Yeterli Krediye Sahip Degilsin"
command /kredisansi:
trigger:
if player has permission "kredisansi.use":
send "&8[&3PolyMC&8] &6Bu ozelligi zaten almissin!" to player
else:
if {kredi.%player%} is greater than 30:
execute console command "manuaddp %player% kredisansi.use"
add -30 to {kredi.%player%}
send "&8[&3SunucuIsmi&8] &6Bu ozelligi basariyla aldin! Artik kirdigin lapis sayisi 2'ye katlanacak!."
else:
send "&8[&3Banka&8] &6Yeterli Krediye Sahip Degilsin"
command /kredimagazasi:
trigger:
if world is "plotworld":
send "&6Bu menuyu bu dunyada kullanamassin!" to player
else:
wait 0.1 seconds
open chest with 2 rows named "&4&lMENU/KREDI MAGAZA" to player
wait 1 ticks
format slot 0 of player with iron ingot named "&2&l25 Milyon Lira" with lore "&cTikla ve 15 krediye 25M al" to close then run [make player execute command "kredicevir25m"]
format slot 11 of player with gold ingot named "&2&l50 Milyon Lira" with lore "&cTikla ve 25 krediye 50M al" to close then run [make player execute command "kredicevir50m"]
format slot 4 of player with diamond named "&2&l75 Milyon Lira" with lore "&cTikla ve 40 krediye 75M al" to close then run [make player execute command "kredicevir75m"]
format slot 13 of player with quartz named "&2&lMenuye Geri Don" with lore "&cTikla ve menuye geri don" to close then run [make player execute command "kredi"]
format slot 15 of player with gold nugget named "&2&lKredi Sansi!" with lore "&cTikla ve 30 krediye kirdigin lapislerin katsayisi 2'ye ciksin!" to close then run [make player execute command "kredisansi"]
format slot 1 of player with none named "" to act unstealable
format slot 2 of player with none named "" to act unstealable
format slot 3 of player with none named "" to act unstealable
format slot 5 of player with none named "" to act unstealable
format slot 6 of player with none named "" to act unstealable
format slot 7 of player with none named "" to act unstealable
format slot 9 of player with none named "" to act unstealable
format slot 10 of player with none named "" to act unstealable
format slot 12 of player with none named "" to act unstealable
format slot 14 of player with none named "" to act unstealable
format slot 16 of player with none named "" to act unstealable
format slot 17 of player with none named "" to act unstealable
on command "/menus":
cancel event
wait 0.1 seconds ticks
execute player command "menu"
command /kredi:
trigger:
wait 0.1 seconds
open chest with 1 rows named "&4&lMENU/KREDI" to player
wait 1 ticks
format slot 6 of player with emerald named "&2&lKredi Magazasi" with lore "&cMagzaya gitmek icin tikla" to close then run [make player execute command "kredimagazasi"]
format slot 0 of player with paper named "&2&lKredin" with lore "&c%{kredi.%player%}%" to act unstealable
format slot 2 of player with lapis named "&2&lKirdigin Lapis Sayisi" with lore "&c%{lapiskazma.%player%}%" to act unstealable
format slot 8 of player with quartz named "&8<<<&6&l&oKredi Menusu" to act unstealable
format slot 4 of player with redstone named "&2&lKredi Gonder" with lore "&cKredi gondermek icin: /kredigonder <kisi>" to act unstealable
format slot 5 of player with none named "" to act unstealable
format slot 3 of player with none named "" to act unstealable
format slot 1 of player with none named "" to act unstealable
format slot 7 of player with none named "" to act unstealable
Kod:
# ------------------------------ #
#
# FeatherBoard 3
# Runs like a feather on your server
# (c) Maxim Van de Wynckel
#
# ------------------------------ #
# Permissions: To use the action groups give them the permission
# featherboard.group.<group>
# Make sure to remove them from the other groups
# when giving a new permission.
# Variables: These variables can be used in the TEXT section
# of both the header as the footer.
#
# {PLAYER} - Player name
# {PLAYERNICK} - Player nickname
# {SERVER} - Server name
# {PLAYERCOUNT} - Server player count
# {BUNGEECOUNT} - Bungee network player count
# 4000+ more ... see spigot page
# Formatting: These are formatting tags allowing you to format the animations
# or placeholders.
#
# Substring: This allows you to split a word (even a placeholder) in parts
# example: <substring begin=0 end=3>Hello World</substring> = Hel
# usage: This can be used to split placeholders when creating a typewriter
# or to split the colors in a placeholder.
#
# Scroll: This creates a scrolling animation of the text inside it. It accepts
# two arguments (the length and space between scrolls).
# example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
#
# PLENTY MORE! See spigot page
#-------------------------------------------#
# GENERAL PLUGIN SETTINGS
#-------------------------------------------#
## Config version (DO NOT EDIT)
config: 2
## Language file
lang: 'en'
## Debug mode
debug: false
## Log to file
log:
enabled: true
# Reset log on startup
reset: false
## Update checking
update:
check: true # RECOMMENDED YOU LEAVE THIS TRUE
#-------------------------------------------#
# PLUGIN SPECIFIC SETTINGS
#-------------------------------------------#
# Placeholder settings
placeholder:
# logs the memory usage of placeholders on startup
log-memory: false
# Clear unused placeholders that are not enabled.
clear-unused: true
# Config cache only
# This will only use placeholders in the config
# HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
# IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
config-cache: false
# Tweaks to increase performance (Use at own risk)
tweaks:
# This option does not send scoreboard remove packets
# to the client on quit. This can increase performance on servers
# where players quit a lot (hubs, ...)
#
# Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
# /data folder
#
# Enabling this can cause the scoreboard not to work anymore. Use at your own risk
keepScoreboardOnQuit: false
# Some placeholders have a slow process behind them. Meaning they might contact a database
# and take a while to 'resolve'. This will never cause lagg since the placeholders are loaded
# separate from the sending. But can slow down the animation because it has to wait
# for the placeholder to be loaded. When having multiple lines like a text that shows
# the information about the placeholders you put below it, this can cause problems.
# Enabling this will output a message in the console and ingame to operators
# saying when a placeholder is causing delays.
detect-placeholderdelay: false
# Putting this to true will SPAM your console with timings report per placeholder/animation
# refresh. Used for debugging purposes.
# This requires detect-placeholderdelay to true
verbose-placeholder-timings: false
# Toggling allows you to disable the scoreboard
database:
# If you want the toggle to stay even when your users
# log off you can enable this. Keep in mind that this requires a
# MySQL or SQLite database.
# If you are configuring the plugin for the first time it is advised
# to stay away from these settings until you managed the scoreboard
# set up.
persistent: false
# Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
# with isolation, url, driver, ...
# Database name
database: "featherboard"
# Database username
username: bukkit
# Database isolation type
isolation: SERIALIZABLE
# Database driver
driver: org.sqlite.JDBC
# Database password
password: walrus
# Database driver URL
# {DIR} will be replaced with the plugin directory
# {NAME} will be replaced wit the plugin name
url: jdbc:sqlite:{DIR}{NAME}.db
# Save interval in ticks
save-interval: 6000
# Disabled worlds. Add your world name in this list to
# disable it.
disabled-worlds:
- 'example_world'
# Show delay on join. Usefull if you wish to let the user
# enjoy a Title MOTD without having the scoreboard obstructing
# the view.
show-delay: 0
# Anti Flicker will use a new engine that will allow you to use fast animations
# without any flicker.
# You can disable this feature if you do not have fast refresh rates.
antiflicker: true
# A list of different scoreboards
boards:
# Default FeatherBoard comes with a board called "default". All players have the permission
# featherboard.group.default (by default) meaning all players should see the scoreboard unless
# the permission is negated.
#
# You can create as many boards as you want as long as the name is unique. It is advised to give logical
# names such as "vip-board", "mcmmo-levelup", ...
default:
# Every section here are different lines. The first section will be used as the title
# the following sections will be used as the lines on the scoreboard (max 15)
# Just as the scoreboard names you can name these 'lines' whatever you want. But to make
# things simple I will use logical names such as "title", "spacer", "header", ...
title:
# Every line has its own frames. The animation will loop through these frames on intervals
# that you configure below.
# Put all your frames under 'text:'. You can make as many lines as you want and use
# placeholders and preset effects.
# Keep in mind that there is a limit in line width!
text:
# To create cool looking animations you create yourself
# you can use the graphical tool AnimationCreator
# https://www.spigotmc.org/resources/animationcreator.6001/
# For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
# For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
- '<single>&c&lPOLY CRAFT</single>' # <single> will allow the frame to only run ONCE
- '<single>&f&lPOLY CRAFT</single>'
- '<single>&f&lPOLY CRAFT</single>'
- '<single>&f&lPOLY CRAFT</single>'
- '<single>&f&lPOLY CRAFT</single>'
- '<glow glowsize="1">POLY CRAFT</glow>'
# Interval is the animation interval in TICKS (20 ticks is one second).
# Every X ticks the animation goes to the next frame (see above)
# Once all frames are finished it will start over from the first one
interval: 2
# If you don't want a static order of the frames and want to show each frame at random
# you can enable this option.
random: false
# A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
# that is why it is advised to have something on your scoreboard that is bigger then all other lines.
# These lines (usually a header or footer) are also good for decoration.
header:
text:
- ' '
interval: 10
random: true
player-labe1l:
text:
- '&cSen &8{175}'
interval: 100
random: false
player-line1:
text:
- ' &7{player}'
interval: 2
random: false
player-label:
text:
- ' '
interval: 100
random: false
player-line2:
text:
- '&cBilgilerin &8{175}'
interval: 2
random: false
spacer1:
text:
- ' &7Rutben&8; &b{GROUP}'
interval: 100
random: false
news-info:
text:
- ' &7Paran&8; &b{MONEY}'
interval: 100
random: false
news:
# Lets create some animated news
# News is something you need to write quick
# and usually you don't want to spend ages on creating
# some cool effect. That is why FeatherBoard features
# several presets you can use.
text:
- ' &7Ping&8; &b{ping} ms'
interval: 2 # When using preset effects. The interval will apply to that effect
# Do you want to randomize the animation frames?
random: false
# For empty lines just add another 'section' but just don't put any text
# in it so it acts like an empty line.
spacer2:
text:
- ''
interval: 100
random: false
timesplayed-label: #Switch between site, times played and health
text:
- '&cSunucu &8{175}'
interval: 100
random: false
timesplayed: #Switch between site, times played and health
text:
- ' &7ID&8; &bFaction'
interval: 100
random: false
# For empty lines just add another 'section' but just don't put any text
# in it so it acts like an empty line.
spacer3:
text:
- ' &7Online&8; &b{playercount}/150'
interval: 100
random: false
server-line1:
text:
- ' &7Saat&8; &b{time}' #Refresh the ram 200 times
interval: 1
random: false
server-line2:
text:
- ' &7Tarih&8; &b{lastplayed}'
interval: 10
random: false
# This is the same as the header. It is not needed since you already use the header as the longest line
# but it looks cleaner having a footer.
footer22222:
text:
- ''
interval: 10
random: true
# This is a combat scoreboard example showing
# combat related information.
# DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
# (Unless you want it to show all the time)
# You still need to 'trigger' this scoreboard in the vanilla_combat
combat-scoreboard-example:
# Lets just use the title,header and footer from the example above
# for in depth configuration look above.
#
# When designing a board that is used when triggered on an event. You have
# to think (before looking at the placeholders) what is relevant.
# For example: When I think of combat my first thoughts are:
# - Health: To see how much you have left
# - Possible cooldown timers
# - With who am I in combat?
# - Target health
# - mcMMO attacking level?
#
# Next you have to think what is important during that event:
# - Combat: not too much distraction (no animations, smaller scoreboard)
#
# Once you know those things start looking for placeholders. A lot of events such
# as mcmmo have placeholders that can only be used in such events.
title:
text:
# To create cool looking animations you create yourself
# you can use the graphical tool AnimationCreator
# https://www.spigotmc.org/resources/animationcreator.6001/
# For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
# For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
- '<single><delay times="10">&l><</delay></single>'
- '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
- '<single>&f&lherB</single>'
- '<single>&f&lherBo</single>'
- '<single>&f&latherBoa</single>'
- '<single>&f&leatherBoar</single>'
- ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
interval: 2
random: false
header:
text:
- '&a&m+-----------------+'
interval: 10
random: true
combat-label:
text:
- '&8&l> &7&lCombat target:'
interval: 100
random: false
combat-data:
text:
- '{vanilla-combat_opponent_name}'
interval: 2
random: false
spacer1:
text: []
interval: 100
health-label:
text:
- '&8&l> &7&lHealth stats:'
interval: 100
random: false
health-data-1:
text:
- '&aYou: {healthbar}'
interval: 1
random: false
health-data-2:
text:
- '&cTarget: {vanilla-combat_opponent_healthbar}'
interval: 1
random: false
footer:
text:
- '&a&m+-----------------+'
interval: 10
random: true
# This is an example for mcMMO when you level up
# DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
# (Unless you want it to show all the time)
# You still need to 'trigger' this scoreboard in the 'mcmmo-levelup'
mcmmo-levelup:
title:
text:
# To create cool looking animations you create yourself
# you can use the graphical tool AnimationCreator
# https://www.spigotmc.org/resources/animationcreator.6001/
# For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
# For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
- '<single><delay times="10">&l><</delay></single>'
- '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
- '<single>&f&lherB</single>'
- '<single>&f&lherBo</single>'
- '<single>&f&latherBoa</single>'
- '<single>&f&leatherBoar</single>'
- ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
interval: 2
random: false
header:
text:
- '&a&m+-----------------+'
interval: 10
random: true
info-label:
text:
# mcMMO-levelup comes with several event specific placeholders
- '&bCongrats! Level up: {mcmmo-levelup_levelsgained}'
interval: 10
spacer1: # This is a spacer an empty line
text:
- ''
interval: 10
# Do you want to randomize the animation frames?
random: false
skill-label: # You can add elements to the group and name them like you want
# Lets make a static label
text:
- '&9&l> &e&lSkill:'
interval: 10 # The interval is not important since its just 1 static text.
# Do you want to randomize the animation frames?
random: false
skill:
# Lets make a static label
text:
- '{mcmmo-levelup_skill_name}'
interval: 10 # The interval is not important since its just 1 static text.
# Do you want to randomize the animation frames?
random: false
spacer2: # This is a spacer an empty line
text:
- ''
interval: 100
# Do you want to randomize the animation frames?
random: false
skilllevel-label: # You can add elements to the group and name them like you want
# Lets make a static label
text:
- '&b&l> &e&lCurrent level:'
interval: 10 # The interval is not important since its just 1 static text.
# Do you want to randomize the animation frames?
random: false
skilllevel:
# Lets make a static label
text:
- '{mcmmo-levelup_skilllevel}'
interval: 10 # The interval is not important since its just 1 static text.
# Do you want to randomize the animation frames?
random: false
footer:
text:
- '&a&m+-----------------+'
interval: 10
random: true
# This is an example for Towny when you enter a town
# DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
# (Unless you want it to show all the time)
# You still need to 'trigger' this scoreboard in the 'towny-town'
towny-town-example:
# Lets just use the title,header and footer from the example above
# for in depth configuration look above.
title:
text:
# To create cool looking animations you create yourself
# you can use the graphical tool AnimationCreator
# https://www.spigotmc.org/resources/animationcreator.6001/
# For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
# For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
- '<single><delay times="10">&l><</delay></single>'
- '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
- '<single>&f&lherB</single>'
- '<single>&f&lherBo</single>'
- '<single>&f&latherBoa</single>'
- '<single>&f&leatherBoar</single>'
- ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
interval: 2
random: false
header:
text:
- '&a&m+-------------------+'
interval: 10
random: true
town-label:
text:
- '&bYou are in town:'
interval: 100
town-data:
text:
- '{towny_currenttown_name}'
interval: 100
spacer1:
text: []
interval: 100
townboard-label:
text:
- '&bTown board:'
interval: 100
townboard:
text:
- '&a<scroll minwidth="28" width="30">{towny_currenttown_townboard}</scroll>'
interval: 3
spacer2:
text: []
interval: 100
population-label:
text:
- '&bPopulation:'
interval: 100
poplulation-data:
text:
- '{towny_currenttown_residents}'
interval: 100
footer:
text:
- '&a&m+-------------------+'
interval: 10
random: true