Tanıtım PixelMOTD - Sunucunuza ait MOTD yöneticisi!

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

FreadFries

Tasarımcı (Yankılı)
Yazar Şefi
MinePass
Katılım
22 Nisan 2024
Mesajlar
318
Elmaslar
221
Puan
3.155
Yaş
19
Konum
Mars, Phobos
Minecraft
Furkan0936

Discord:

freadfries

Minecraft Sürümleri
1.8 - 1.19
Selamlar, ben forum stajyer editörü Furkan. Bu konuda başlıktan da anlaşılacağı üzere MOTD'nin ne olduğundan ve PixelMOTD adlı eklentinin özelliklerinden bahsedeceğim. Dilerseniz direkt anlatıma geçelim.


Kurulum
Eklentinin kurulumu standart ve basittir. ProtocolLib kurarak tüm özelliklere erişebilirsiniz.
1) Eklentiyi
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
indirin.
2) Sunucunuzun \plugins klasörüne ProtocolLib ile birlikte yerleştirin.
3) Sunucunuz açıksa yeniden başlatın.



MOTD Nedir, ne işe yarar?
MOTD (Message of the Day), sunucuların sunucu listesinde yer alan açıklama kısmıdır. Bu açıklama kısmı sunucu dosyalarından düzenlenebilir (server.properties). Bu açıklamaya genelde ip adresi, sürüm, oyun modları, duyurular ve sosyal medya adresleri konulur.


PixelMOTD'nin server.properties Dosyasındaki MOTD'den Farkı Nedir?
PixelMOTD eklentisi MOTD arayüzüne bir sürü özellik ekleyen bir eklentidir, bu özelliklere eklenti kurulunca indirilen örnek MOTD konfigürasyon dosyalarında (\plugins\PixelMOTD\motds) rastlayabiliriz.

Konfigürasyon dosyalarınız şu şekilde gözüküyor olmalıdır:

Kod:
#
# █████████████████████████████████████████████████████████████████████████
# █▄─▄▄─█▄─▄█▄─▀─▄█▄─▄▄─█▄─▄███▄─▀█▀─▄█─▄▄─█─▄─▄─█▄─▄▄▀███▀ ██─▄▄─████─▄▄─█
# ██─▄▄▄██─███▀─▀███─▄█▀██─██▀██─█▄█─██─██─███─████─██─████ ██─██─█  █─██─█
# █▄▄▄███▄▄▄█▄▄█▄▄█▄▄▄▄▄█▄▄▄▄▄█▄▄▄█▄▄▄█▄▄▄▄██▄▄▄██▄▄▄▄████▄▄▄█▄▄▄▄█▄▄█▄▄▄▄█
#
# Using version: 9.4.1-SNAPSHOT (System originally created for PixelMOTD 10 moved to the Legacy version) by JustJustin
#
# Links:
# * SpigotMC Link:
# * MC-Market Link:
# * GitHub Link:
#
# Tutorials:
# * If you want to add Hex or Gradient, Click here: (tutorial link for hex here in the future)
# * If you want to add Placeholders to your motd lines, Click here: (tutorial link for hex here in the future)

# Configurable Motd Types:
# * 0 = Normal (Default)
# * 1 = Whitelist
# * 2 = Blacklist
# * 3 = OutdatedClient
# * 4 = OutdatedServer
type: 0

# Disabled until 10.0.0
# This path will be only if you are in type = 7, for the Domain Motd.
# This path will be the domain to check if the player is using a specified domain
domain-setup:
  # This option has two types: 0 = IS, 1 = IS_NOT
  # 0 - IS = If the player is calling the server motd using a specified domain.
  # 1 - IS_NOT = If the player is not calling the server motd using a specified domain.
  type: 1
  # Domains to check this setup, add more using ',' as a separator. Please don't use spaces.
  value: "mc.spigot.org,play.spigot.org"

# If you enable this option, this motd will only appear for users with
# 1.16+ and If you are in Spigot or Paper your server version need to be 1.16+
# Or it will not work, But if you are in bungeecord or velocity it will work without problems.
# Just stay updated in your proxy jar.
hex-motd: false

# Modify your motd lines here
# If you want to add Hex or Gradient, Click here: (tutorial link for hex here in the future)
# If you want to add Placeholders to your motd lines, Click here: (tutorial link for hex here in the future)
# If you want to create variables, Click here: (tutorial link for hex here in the future)
# <center> variable is disabled until 10.0.0
line-1: "&6&lPIXEL MOTD &f&lLEGACY UPDATE FROM v10.0"
line-2: "&f&lEnjoy &7and play with us! &6&lone.ml"

# Modify your motd protocol here <-------
# This will rename your proxy in the ServerList for players using an incompatible minecraft version in your server
protocol:
  # If this option is disabled the plugin will not change anything about this in the motd
  # This plugin has 4 modifiers for the protocol:
  # -1 = This option is disabled so this option will be ignored for the plugin.
  # 0  = The protocol will be the default provided by the server or another plugin.
  # 1  = The protocol will be always positive
  # 2  = The protocol will be always negative
  modifier: "1"
  # Modify this length if the text is not in the exact place what you want
  space-length: 53
  # This is your protocol
  text: "<before-the-icon>&aJoin here -><default>&fPlayers: &a%online%/1000"

players:
  # This section will be prepared in the future
  # This plugin has 8 types for this option:
  # * -1  = This option is disabled so this option will be ignored for the plugin.
  # * 0   = The players size will be the default provided by the server or another plugin.
  # * 1   = The players size will be modified with the value in this option.
  # * 2   = The value will be added to the number of players
  # * 3   = The value will be removed from the number of players, in case of a bigger number it will be 0 players.
  # * 4   = The value will be multiplied with number of players and the result will be the new number of players
  # * 5   = The value will be divided by the number of players and the result will be the new number of players
  # * 6   = The number of players will be the middle of it
  # * 7   = The middle of number of players will be added to the number of players
  # * 8   = The middle of number of players will be removed from the number of players
  #
  # If you want to add multi-values, you need to use "value;value;value", using ';'
  max:
    type: 1
    value: "1000;1001"
  online:
    type: 0
    value: 10

icon:
  # This plugin has 3 types for this option:
  # * -1 = This plugin will ignore icon feature, and it will not be loaded.
  # * 0 = CachedIcon (RECOMMENDED)
  type: 0
  # Path of your icon, when you put only your file name it will search your file
  # In the plugin's main folder, but you can use
  # values like: "/icons/my-icon.png" or put multi values using ';' example: "server-icon-1.png;server-icon-2.png"
  value: "default-icon.png"

hover:
  # This option has 2 types:
  # * -1 = This option is disabled so this option will be ignored for the plugin.
  # * 0  = This option will be enabled and will work without problems
  type: 0
  value:
    - "&6[box][box][box][box][box]"
    - "&6[box]&0[box]&6[box]&0[box]&6[box] &aThis is your server motd"
    - "&6[box][box][box][box][box] "
    - "&6[box]&0[box]&6[box][box][box] &aYou can modify it in your motd file"
    - "&6[box][box]&0[box][box]&6[box]"
    - " "
    - "<hasOnline>&8Players Online: &a%online%"
    - "<hasOnline>&7- &a%player_1%"
    - "<hasOnline>&7- &a%player_2%"
    - "<hasOnline>&7- &a%player_3%"
    - "<hasOnline>&7- &a%player_4%"
    - "<hasOnline>&7- &a%player_5%"
    - "<hasMoreOnline>&7+&a%more_online% &7players."

İlk özelliğimiz type, yani MOTD türüdür. Bu özellikler konfigürasyonun 24. satırdan değiştirilebilir. Her koşul için eklenti örnek bir MOTD oluşturmuş olacaktır. Türlerin özellikleri aşağıdaki gibidir:

0 - Standart koşullarda oyuncunun gördüğü MOTD
1 - Beyaz liste aktif durumdayken görünen MOTD
2 - Yasaklı veya beyaz listede değilken görünen MOTD
3 - Eski bir Minecraft sürümü kullanılırken görünen MOTD
4 - Yeni bir Minecraft sürümü kullanılırken görünen MOTD

İkinci özelliğimiz hover, yani üstüne getirmedir. Bu özellik bir oyuncunun sunucu listesinde sunucu oyuncu kapasitesinin üzerine faresini getirdiğinde bir kutu çıkmasını sağlar. Konfigürasyonun 104. satırından değiştirilebilir. Bu kutuya sunucu açıklaması konulabilir.

Üçüncü özelliğimiz event, yani olay sistemidir. Bu sistem MOTD arayüzünüz üstünde bir zamanlayıcı zamanlamanızı sağlar, ki bu da MOTD üzerinden sunucu açılış saatiniz gibi özelliklerin görüntülenebilmesini sağlar.


Kod:
#
# █████████████████████████████████████████████████████████████████████████
# █▄─▄▄─█▄─▄█▄─▀─▄█▄─▄▄─█▄─▄███▄─▀█▀─▄█─▄▄─█─▄─▄─█▄─▄▄▀███▀ ██─▄▄─████─▄▄─█
# ██─▄▄▄██─███▀─▀███─▄█▀██─██▀██─█▄█─██─██─███─████─██─████ ██─██─█  █─██─█
# █▄▄▄███▄▄▄█▄▄█▄▄█▄▄▄▄▄█▄▄▄▄▄█▄▄▄█▄▄▄█▄▄▄▄██▄▄▄██▄▄▄▄████▄▄▄█▄▄▄▄█▄▄█▄▄▄▄█
#
# Using version: 9.4.1-SNAPSHOT (System originally created for PixelMOTD 10 moved to the Legacy version) by JustJustin
#
#   Using version 9.4.1-SNAPSHOT
#   Author: JustJustin (MrUniverse44)
#   SpigotMC Link:
#   MC-Market Link:
#   GitHub Link:
#
#   Toggle Events,if this option is disabled, events will not load and variables will not work. Recommended: false, if you have +1000 users.
#   Only enable this option when you have an event running.
events-toggle: true
# Default: 12/21/21 23:59:00
# If you change this pattern you need to change the pattern of your eventDate
pattern: "MM/dd/yy HH:mm:ss"
#   Customize your own events
events:
  # This is the default event, to add more events only copy and paste it
  # (obviously replacing the name 'exampleEvent' with another name)
  test:
    name: test
    date: 07/28/24 21:59:00
    time-zone: GMT+3
    format-type: FIRST
    end-message: '&cThe event finished.'
# Time Option
timer:
  weeks: "hf "
  week: "hf "
  w: "hf "
  days: "g "
  day: "g "
  d: "g "
  hours: "s "
  hour: "s "
  h: "s "
  minutes: "dk "
  minute: "dk "
  m: "dk "
  seconds: "sn "
  second: "sn "
  s: "sn "
  separator: ","

Bu özelliği ayarlamak için öncelikle eklenti klasöründeki events.yml dosyası üzerinden events-toggle satırını true olarak değiştirmeniz gerekiyor. Daha sonra örnek olayın içinde date satırından belirtilen zamanı (ay/gün/yıl formatında!) ve saat dilimini ayarlamanız gereklidir. Bu ayarları yaptıktan sonra MOTD konfigürasyon dosyanıza geri gelip line-1/2 satırlarından birine %event_(event adı)_TimeLeft% yer tutucusunu koymanız gereklidir. Daha sonra eklentinizi yeniden yüklemeniz ile olay sayacınız MOTD'ye yansıyacaktır.

Dördüncü özelliğimiz HEX ve renk geçiş desteğidir. Bu arayüzde özel renk kullanabilmenizi sağlar. Formatları ise <GRADIENT:ffffff>[yazı]</GRADIENT:000000> ve <SOLID:FF0080>[yazı] dır.

Beşinci özellik ise BungeeCord desteğidir. Bu eklentiyi Spigot sunucuların yanında Bungeecord türü sunucularınızda da kurabilirsiniz. BungeeCord için renk formatları ise &#ff00ff&[yazı] dır (Renk geçişlerini &#$1$2$3$4$5$6&$f$c formatı ile Birdflop üzerinden yapabilirsiniz.)




Konunun Sonu
Konumuz bu kadardı, artık rahatlıkla PixelMOTD eklentisi ile sunucunuza parıltı katabilirsiniz, keyifli kullanımlar dilerim!
 
Eline sağlık :)
 
Güzel bir anlatım olmuş eline sağlık.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst