DrawWEB Core icon

DrawWEB Core -----

drawweb, core, dwebcore, drawweb core, siteban, siteunban, siterank, mysql, postgresql



This plugin is a plugin made for use with a webscript called DrawWEB.

Featured Video

Coming Soon.
[​IMG]
  • Showing on the site whether the player is active on the server or not.
  • Giving the player a credit on the site.
  • Giving the player a rank on the site.
  • Banning/unbanning the player on the site.
[​IMG]
  • /dcredit - Command to give credit to a player on a DrawWeb-based site.
  • /drank - Command to cast a player on a DrawWeb based site.
  • /dban - Command to ban the specified player from the site.
  • /dunban - Command to unban the specified player from the site.
  • /dwebcore help - Command to get help about the plugin.
  • /dwebcore reload - Command to refresh the configuration.
Example Commands:
  • /dcredit BartuAbiHD 100
  • /drank BartuAbiHD Admin red
  • /drank BartuAbiHD Admin #dc3545
  • /dban BartuAbiHD
  • /dunban BartuAbiHD
[​IMG]
  • dwebcore.*
  • dwebcore.credit
  • dwebcore.rank
  • dwebcore.ban
  • dwebcore.unban
  • dwebcore.help
  • dwebcore.reload
Example Configs:

Original config.yml:

Code (YAML):
######################################################################################################################################################################################
#                                                       ____                    __        _______ ____     ____                                                                      #
#                                                      |  _ \ _ __ __ ___      _\ \      / / ____| __ )   / ___|___  _ __ ___                                                        #
#                                                      | | | | '__/ _` \ \ /\ / /\ \ /\ / /|  _| |  _ \  | |   / _ \| '__/ _ \                                                       #
#                                                      | |_| | | | (_| |\ V  V /  \ V  V / | |___| |_) | | |__| (_) | | |  __/                                                       #
#                                                      |____/|_|  \__,_| \_/\_/    \_/\_/  |_____|____/   \____\___/|_|  \___|                                                       #
#                                                                                                                                                                                    #
######################################################################################################################################################################################

# Database Settings
database-type
: 'MySQL' # Database type: You can select 'MySQL' or 'PostgreSQL'.
host
: 'localhost' # Database server IP address or domain.
port
: 3306 # Default for MySQL: 3306, default for PostgreSQL: 5432.
database
: 'tutorial' # Database name.
username
: 'root' # Database username.
password
: 'password' # Database password.
table
: 'player_data' # The name of the table in the database where users are located.

# Messages
perm-message
: '&cYou do not have the necessary authorization to use this command!'
rank-message
: '&aYou gave the player named &e %player% &athe rank of &e%rank% &aon the website.'
banned-message
: '&aYou have banned a player named &c %player% &afrom the website.'
unbanned-message
: '&aYou have lifted the ban of a player named &c %player% &afrom the website.'
failed-to-ban-player-message
: '&cFailed to ban the player. Please try again.'
failed-to-unban-player-message
: '&cFailed to unban the player. Please try again.'
this-player-is-already-banned-message
: '&cThis player is already banned.'
this-player-is-not-already-banned-message
: '&cThis player is not already banned.'
no-player-found-with-the-name-message
: '&cNo player found with the name %player%'[/B][/CENTER]
credit-updated_message
: '&aSuccessfully updated %player%''s credit to %amount%.'
invalid-credit-amount-message
: '&cInvalid credit amount. Please enter a valid number.'
reload-success-message
: '&aDrawWEB Core has been successfully reloaded!'

# Database driver class name
# MySQL: 'com.mysql.cj.jdbc.Driver' or 'com.mysql.jdbc.Driver'
# PostgreSQL: 'org.postgresql.Driver'
mySQLDriverClassName
: com.mysql.cj.jdbc.Driver
postgreSQLDriverClassName
: org.postgresql.Driver

# Connection Options
ConnectionOptions
: useSSL=false&autoReconnect=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
Turkish config.yml:

Code (YAML):
######################################################################################################################################################################################
#                                                       ____                    __        _______ ____     ____                                                                      #
#                                                      |  _ \ _ __ __ ___      _\ \      / / ____| __ )   / ___|___  _ __ ___                                                        #
#                                                      | | | | '__/ _` \ \ /\ / /\ \ /\ / /|  _| |  _ \  | |   / _ \| '__/ _ \                                                       #
#                                                      | |_| | | | (_| |\ V  V /  \ V  V / | |___| |_) | | |__| (_) | | |  __/                                                       #
#                                                      |____/|_|  \__,_| \_/\_/    \_/\_/  |_____|____/   \____\___/|_|  \___|                                                       #
#                                                                                                                                                                                    #
######################################################################################################################################################################################

# Veritabanı Ayarları
database-type
: 'MySQL' # Veritabanı türü: 'MySQL' veya 'PostgreSQL' seçebilirsiniz.
host
: 'localhost' # Veritabanı sunucu IP adresi.
port
: 3306 # MySQL için varsayılan: 3306, PostgreSQL için varsayılan: 5432.
database
: 'tutorial' # Veritabanı adı.
username
: 'root' # Veritabanı kullanıcı adı.
password
: 'password' # Veritabanı şifresi.
table
: 'player_data' # Veritabanında üyelerin bulunduğu tablonun ismi.

# Mesajlar
perm-message
: '&cBu komutu kullanmak için gerekli yetkiye sahip değilsiniz!'
rank-message
: '&e %player% &aadlı oyuncuya web sitesinde &e%rank% &arütbesi verdiniz.'
banned-message
: '&c %player% &aadında bir oyuncuyu web sitesinden yasakladınız.'
unbanned-message
: '&c %player% &aadlı oyuncunun web sitesindeki yasağını kaldırdınız.'
failed-to-ban-player-message
: '&cOyuncu yasaklanamadı. Lütfen tekrar deneyin.'
failed-to-unban-player-message
: '&cOyuncunun yasağı kaldırılamadı. Lütfen tekrar deneyin.'
this-player-is-already-banned-message
: '&cBu oyuncu zaten yasaklı.'
this-player-is-not-already-banned-message
: '&cBu oyuncu zaten yasaklı değil.'
no-player-found-with-the-name-message
: '&a %player% &cisminde kayıtlı bir oyuncu bulunamadı.'
credit-updated_message
: '&e %player% &aadlı oyuncunun kredisi başarıyla &e%amount% &aolarak güncellendi.'
invalid-credit-amount-message
: '&cGeçersiz kredi tutarı. Lütfen geçerli bir sayı girin.'
reload-success-message
: '&aDrawWEB Core başarıyla yeniden yüklendi!'

# Veritabanı sürücüsü sınıfı adı
# MySQL: 'com.mysql.cj.jdbc.Driver' veya 'com.mysql.jdbc.Driver'
# PostgreSQL: 'org.postgresql.Driver'
mySQLDriverClassName
: com.mysql.cj.jdbc.Driver
postgreSQLDriverClassName
: org.postgresql.Driver

# Bağlantı Seçenekleri
ConnectionOptions
: useSSL=false&autoReconnect=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Europe/Istanbul
Resource Information
Author:
----------
Total Downloads: 28
First Release: Dec 19, 2024
Last Update: Jan 11, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings