UltraBans - Lepší než KiwiAdmin + Web Banlist

Message
Autor
Wywern
Příspěvky: 15
Registrován: 28 črc 2013, 19:10
Reputation: 0

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#111 Příspěvekod Wywern » 08 srp 2013, 18:13

Takže když dám ban tak by to psát nemělo??
gamesmini.eu <vytváří se>.
Více jak 15 Mini Games , přes 35 arén.Neváhej se připojit! < vytváří se >

Uživatelský avatar
Mysteria
Příspěvky: 9122
Registrován: 26 pro 2009, 15:40
Reputation: 7
Bydliště: Česká republika
Kontaktovat uživatele:

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#112 Příspěvekod Mysteria » 08 srp 2013, 18:19

Pokud je všechno ostatní správně, tak ano.

Wywern
Příspěvky: 15
Registrován: 28 črc 2013, 19:10
Reputation: 0

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#113 Příspěvekod Wywern » 08 srp 2013, 18:31

Nejde vůbec, vše podle návodu a nejde.

-- 08 srp 2013, 18:34 --

Nejde vůbec, vše podle návodu a nejde.
gamesmini.eu <vytváří se>.
Více jak 15 Mini Games , přes 35 arén.Neváhej se připojit! < vytváří se >

Uživatelský avatar
Mysteria
Příspěvky: 9122
Registrován: 26 pro 2009, 15:40
Reputation: 7
Bydliště: Česká republika
Kontaktovat uživatele:

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#114 Příspěvekod Mysteria » 08 srp 2013, 18:51

Máš v MySQL tabulku s názvem banlist?

templary
Příspěvky: 107
Registrován: 23 srp 2012, 21:50
Reputation: 0

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#115 Příspěvekod templary » 09 zář 2013, 21:40

Dobrý den,
chtěl bych se zeptat kde je chyba

config :
Spoiler: zobrazit
#Change to MySQL for mysql support#
#Change to SQLite for sqlite support#
Database: MySQL
#MySQL Information#
MySQL:
Database: 'jdbc:mysql://localhost:3306/gs_27237_1'
User: 'gs_27237_1'
Password: 'root'
Table: 'banlist'
IPTable: 'hesloodmehoMysqlu'
#SQLite Information#
SQLite:
Filename: 'banlist'
#delete dat on ban#
CleanOnBan: true
#clear warnings on ban#
ClearWarnOnBan: false
Log:
Enabled: true
#Max Warnings#
MaxWarning:
Enable: false
Amt: 5
#ban,kick,ipban,perma,tempban,tempipban#
Result: ban
Silent: true
Reason: 'Max Warnings'
#Used with Temporary actions#
Temp:
Amt: 5
#sec,min,hour,day,week,month#
Mode: day
#Default labels#
Label:
Console: 'Server'
Reason: 'Unsure'
#change to true or false to enable lockdown#
#also can be done ingame /lockdown#
Lockdown: false
Login:
#Check for duplicates on Login#
DupeCheck:
Enable: true
#PingBack joining players, and kick if unreachable. //Experimental#
ProxyPingBack:
Enable: false
#How long in milliseconds to Timeout#
Timeout: 10000
#This will set the server to sync the database if multiple servers are in place.#
Sync:
Enabled: false
#Timing is in Long format Example:#
#1 Hour = 60 Seconds * 60 Minutes * 20 ServerTickRatePerSec = 72000L
Timing: 72000L
#Auto Updater#
AutoUpdater:
Enabled: true
#Chat#
Chat:
#Checks Chat Messages for a valid IP address#
#If its not valid, trust me they can't connect to it#
IPCheck:
Enable: false
#Wildcards %scramble% will scramble the ip and %replace% will show your ip instead#
#If no wildcards are present the message entered will replace the ip#
#leave blank to erase#
Blocking: '****'
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: warn
Silent: false
Reason: 'Advertising'
#This will allow you to filter out messages containing any words that you define#
SwearCensor:
Enable: true
#Use your imagination these are not for me to decide#
Words: 'buzerant buzna cubka curak dement děvka dylina kokot kretén kripl kunda kurva kuřbuřt gay lesba pica picus posera zmrd pipka'
#Wildcards %scramble% will scramble the word#
#If no wildcards are present the message entered will replace the word#
#leave blank to erase#
Blocking: '***'
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: warn
Silent: false
Reason: 'Slova'
#Checks if the message is duplicate and disables it#
SpamCheck:
Enable: true
#The amount of messages to give a result#
Counter: 5
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: kick
Silent: false
Reason: 'Spam'
Muted:
Vannila: true
#When Vanilla: true allowed commands.#
AllowedCommands:
- '/login'
- '/register'
#Jail Configuration#
Jail:
Mute: true
Vanilla: true
#When Vanilla: true allowed commands.#
AllowedCommands:
- '/login'
- '/register'
Messages:
Ban:
MsgToVictim: '&6You have been banned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was banned by &7%admin%&6. Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already in banned.'
Denied: '&cYour ban attempt has been denied!'
Emo: '&cYou cannot ban yourself!'
Login: '&7%admin%&6 banned you from this server! Reason: &7%reason%&6!'
CheckBan:
Header: '&6Found &7%amt%&6 records for &7%victim%&6.'
None: '&cNo records found for &4%victim%&c.'
Clean:
Complete: '&6Deleted &7%amt%&6 player.dat files.'
DupeIP:
Failed: '&cUnable to view ip for &4%victim% &c!'
Header: '&6Scanning Current IP of &7%victim%&6: &7%ip% !'
Completed: '&aScanning Complete!'
Empty:
MsgToVictim: '&7%admin%&6 has cleared your inventory!'
MsgToSender: '&7%admin%&6 has cleared the inventory of &7%victim%&6!'
Online: '&4%victim%&c must be online.'
Export:
Failed: '&cCould not export ban lists.'
Completed: '&aExported banlists.'
History:
Header: '&6Ultrabans Listing &7%amt%&6 Records.'
Failed: '&cUnable to find any bans.'
Import:
Loading: '&cBe patient. Loading...'
Failed: '&cCould not import ban list.'
Completed: '&aSystem imported the banlist to the database.'
InvOf:
Failed: '&cUnable to find player.'
Console: '&cThis command must be executed by a &4player&c.'
IPBan:
MsgToVictim: '&6You have been ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
IPNotFound: '&cIP address not found. &6Processed as a normal ban for &7%victim%&6!'
Failed: '&4%victim%&c is already in banned.'
Denied: '&cYour ipban attempt has been denied!'
Emo: '&cYou cannot ipban yourself!'
Login: '&7Your IP is banned!'
Jail:
MsgToVictim: '&6You have been jailed by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was jailed by &7%admin%&6. Reason: &7%reason%&6!'
SetJail: '&aJail has been set!'
SetRelease: '&aRelease has been set!'
Failed: '&4%victim%&c is already in jail.'
Online: '&4%victim%&c must be online to be jailed.'
Denied: '&cYour jail attempt has been denied!'
Emo: '&cYou cannot jail yourself!'
PlaceMsg: '&cYou cannot place blocks while you are jailed!'
BreakMsg: '&cYou cannot break blocks while you are jailed!'
Kick:
MsgToAll: '&6Everyone has been kicked by &7%admin%&6. Reason: &7%reason%&6!'
MsgToVictim: '&6You have been kicked by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was kicked by &7%admin%&6. Reason: &7%reason%&6!'
Online: '&4%victim%&c must be online.'
Denied: '&cYour kick has been denied!'
Emo: '&cYou cannot kick yourself!'
Lockdown:
Start: '&cLockdown initiated. &4Player Login&c disabled.'
End: '&aLockdown ended. &2Player Login&a reenabled.'
Status: '&cLockdown is disabled.'
LoginMsg: '&4Server is under a lockdown, Try again later!&c Sorry.'
Mute:
MuteMsgToSender: '&6You have muted &7%victim%&6.'
MuteMsgToVictim: '&4You have been muted!'
UnmuteMsgToSender: '&6You have unmuted &7%victim%&6.'
UnmuteMsgToVictim: '&aYou have been unmuted.'
Denied: '&cYour mute has been denied!'
Emo: '&cYou cannot mute yourself!'
Chat: '&cYour cry falls on deaf ears.'
Pardon:
Msg: '&7%victim%&6 was released from jail by &7%admin%&6!'
PermaBan:
MsgToVictim: '&6You have been permabanned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was permabanned by &7%admin%&6. Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already banned.'
Online: '&4%victim%&c must be online.'
Denied: '&cYour permaban has been denied!'
Emo: '&cYou cannot permaban yourself!'
Spawn:
MsgToVictim: '&cYou have been sent to spawn!'
MsgToSender: '&7%victim%&6 is now at spawn!'
Failed: '&4%victim%&c is not online.'
Starve:
MsgToVictim: '&cYou are now starving!'
MsgToSender: '&6%victim%&7 is now starving!'
Failed: '&4%victim%&c is not online.'
Denied: '&cYour starve attempt has been denied!'
Emo: '&cYou cannot starve yourself!'
TempBan:
MsgToVictim: '&6You have been tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already tempbanned!'
Denied: '&cYour tempban has been denied!'
Emo: '&cYou cannot tempban yourself!'
Login: '&6You have been tempbanned by &7%admin%&6 for &7%time%&6. Reason: &7%reason%&6!'
TempIpBan:
MsgToVictim: '&6You have been tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already tempipbanned!'
Denied: '&cYour tempipban has been denied!'
Emo: '&cYou cannot tempipban yourself!'
IPNotFound: '&cIP address not found.&6 Processed as a normal tempban for &7%victim%&6!'
TempJail:
MsgToVictim: '&6You have been tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already jailed!'
Denied: '&cYour tempjail has been denied!'
Emo: '&cYou cannot tempjail yourself!'
Unban:
MsgToBroadcast: '&7%victim%&6 was unbanned by &7%admin%&6!'
PermaBanned: '&cUnable to unban, &7%victim%&c was Permabanned.'
Failed: '&4%victim%&c is already unbanned!'
Warn:
MsgToVictim: '&6You have been warned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was warned by &7%admin%&6. Reason: &7%reason%&6!'
Denied: '&cYour warning has been denied!'
Emo: '&cYou cannot warn yourself!'
MaxWarn:
MsgToBroadcast: '&7%cmd%&6 performed by Ultrabans on &7%victim%&6. Reason: &7Reached Max Warnings&6!'
Permission: 'You do not have the required permissions.'
Mode:
Second: Second
Minute: Minute
Hour: Hour
Day: Day
Week: Week
Month: Month
Year: Year
#Do Not Change Values Below#
Config:
Version: 3.0



banlist.php

Spoiler: zobrazit
#Change to MySQL for mysql support#
#Change to SQLite for sqlite support#
Database: MySQL
#MySQL Information#
MySQL:
Database: 'jdbc:mysql://localhost:3306/gs_27237_1'
User: 'gs_27237_1'
Password: 'root'
Table: 'banlist'
IPTable: 'hesloodmehoMysqlu'
#SQLite Information#
SQLite:
Filename: 'banlist'
#delete dat on ban#
CleanOnBan: true
#clear warnings on ban#
ClearWarnOnBan: false
Log:
Enabled: true
#Max Warnings#
MaxWarning:
Enable: false
Amt: 5
#ban,kick,ipban,perma,tempban,tempipban#
Result: ban
Silent: true
Reason: 'Max Warnings'
#Used with Temporary actions#
Temp:
Amt: 5
#sec,min,hour,day,week,month#
Mode: day
#Default labels#
Label:
Console: 'Server'
Reason: 'Unsure'
#change to true or false to enable lockdown#
#also can be done ingame /lockdown#
Lockdown: false
Login:
#Check for duplicates on Login#
DupeCheck:
Enable: true
#PingBack joining players, and kick if unreachable. //Experimental#
ProxyPingBack:
Enable: false
#How long in milliseconds to Timeout#
Timeout: 10000
#This will set the server to sync the database if multiple servers are in place.#
Sync:
Enabled: false
#Timing is in Long format Example:#
#1 Hour = 60 Seconds * 60 Minutes * 20 ServerTickRatePerSec = 72000L
Timing: 72000L
#Auto Updater#
AutoUpdater:
Enabled: true
#Chat#
Chat:
#Checks Chat Messages for a valid IP address#
#If its not valid, trust me they can't connect to it#
IPCheck:
Enable: false
#Wildcards %scramble% will scramble the ip and %replace% will show your ip instead#
#If no wildcards are present the message entered will replace the ip#
#leave blank to erase#
Blocking: '****'
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: warn
Silent: false
Reason: 'Advertising'
#This will allow you to filter out messages containing any words that you define#
SwearCensor:
Enable: true
#Use your imagination these are not for me to decide#
Words: 'buzerant buzna cubka curak dement děvka dylina kokot kretén kripl kunda kurva kuřbuřt gay lesba pica picus posera zmrd pipka'
#Wildcards %scramble% will scramble the word#
#If no wildcards are present the message entered will replace the word#
#leave blank to erase#
Blocking: '***'
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: warn
Silent: false
Reason: 'Slova'
#Checks if the message is duplicate and disables it#
SpamCheck:
Enable: true
#The amount of messages to give a result#
Counter: 5
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: kick
Silent: false
Reason: 'Spam'
Muted:
Vannila: true
#When Vanilla: true allowed commands.#
AllowedCommands:
- '/login'
- '/register'
#Jail Configuration#
Jail:
Mute: true
Vanilla: true
#When Vanilla: true allowed commands.#
AllowedCommands:
- '/login'
- '/register'
Messages:
Ban:
MsgToVictim: '&6You have been banned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was banned by &7%admin%&6. Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already in banned.'
Denied: '&cYour ban attempt has been denied!'
Emo: '&cYou cannot ban yourself!'
Login: '&7%admin%&6 banned you from this server! Reason: &7%reason%&6!'
CheckBan:
Header: '&6Found &7%amt%&6 records for &7%victim%&6.'
None: '&cNo records found for &4%victim%&c.'
Clean:
Complete: '&6Deleted &7%amt%&6 player.dat files.'
DupeIP:
Failed: '&cUnable to view ip for &4%victim% &c!'
Header: '&6Scanning Current IP of &7%victim%&6: &7%ip% !'
Completed: '&aScanning Complete!'
Empty:
MsgToVictim: '&7%admin%&6 has cleared your inventory!'
MsgToSender: '&7%admin%&6 has cleared the inventory of &7%victim%&6!'
Online: '&4%victim%&c must be online.'
Export:
Failed: '&cCould not export ban lists.'
Completed: '&aExported banlists.'
History:
Header: '&6Ultrabans Listing &7%amt%&6 Records.'
Failed: '&cUnable to find any bans.'
Import:
Loading: '&cBe patient. Loading...'
Failed: '&cCould not import ban list.'
Completed: '&aSystem imported the banlist to the database.'
InvOf:
Failed: '&cUnable to find player.'
Console: '&cThis command must be executed by a &4player&c.'
IPBan:
MsgToVictim: '&6You have been ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
IPNotFound: '&cIP address not found. &6Processed as a normal ban for &7%victim%&6!'
Failed: '&4%victim%&c is already in banned.'
Denied: '&cYour ipban attempt has been denied!'
Emo: '&cYou cannot ipban yourself!'
Login: '&7Your IP is banned!'
Jail:
MsgToVictim: '&6You have been jailed by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was jailed by &7%admin%&6. Reason: &7%reason%&6!'
SetJail: '&aJail has been set!'
SetRelease: '&aRelease has been set!'
Failed: '&4%victim%&c is already in jail.'
Online: '&4%victim%&c must be online to be jailed.'
Denied: '&cYour jail attempt has been denied!'
Emo: '&cYou cannot jail yourself!'
PlaceMsg: '&cYou cannot place blocks while you are jailed!'
BreakMsg: '&cYou cannot break blocks while you are jailed!'
Kick:
MsgToAll: '&6Everyone has been kicked by &7%admin%&6. Reason: &7%reason%&6!'
MsgToVictim: '&6You have been kicked by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was kicked by &7%admin%&6. Reason: &7%reason%&6!'
Online: '&4%victim%&c must be online.'
Denied: '&cYour kick has been denied!'
Emo: '&cYou cannot kick yourself!'
Lockdown:
Start: '&cLockdown initiated. &4Player Login&c disabled.'
End: '&aLockdown ended. &2Player Login&a reenabled.'
Status: '&cLockdown is disabled.'
LoginMsg: '&4Server is under a lockdown, Try again later!&c Sorry.'
Mute:
MuteMsgToSender: '&6You have muted &7%victim%&6.'
MuteMsgToVictim: '&4You have been muted!'
UnmuteMsgToSender: '&6You have unmuted &7%victim%&6.'
UnmuteMsgToVictim: '&aYou have been unmuted.'
Denied: '&cYour mute has been denied!'
Emo: '&cYou cannot mute yourself!'
Chat: '&cYour cry falls on deaf ears.'
Pardon:
Msg: '&7%victim%&6 was released from jail by &7%admin%&6!'
PermaBan:
MsgToVictim: '&6You have been permabanned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was permabanned by &7%admin%&6. Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already banned.'
Online: '&4%victim%&c must be online.'
Denied: '&cYour permaban has been denied!'
Emo: '&cYou cannot permaban yourself!'
Spawn:
MsgToVictim: '&cYou have been sent to spawn!'
MsgToSender: '&7%victim%&6 is now at spawn!'
Failed: '&4%victim%&c is not online.'
Starve:
MsgToVictim: '&cYou are now starving!'
MsgToSender: '&6%victim%&7 is now starving!'
Failed: '&4%victim%&c is not online.'
Denied: '&cYour starve attempt has been denied!'
Emo: '&cYou cannot starve yourself!'
TempBan:
MsgToVictim: '&6You have been tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already tempbanned!'
Denied: '&cYour tempban has been denied!'
Emo: '&cYou cannot tempban yourself!'
Login: '&6You have been tempbanned by &7%admin%&6 for &7%time%&6. Reason: &7%reason%&6!'
TempIpBan:
MsgToVictim: '&6You have been tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already tempipbanned!'
Denied: '&cYour tempipban has been denied!'
Emo: '&cYou cannot tempipban yourself!'
IPNotFound: '&cIP address not found.&6 Processed as a normal tempban for &7%victim%&6!'
TempJail:
MsgToVictim: '&6You have been tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already jailed!'
Denied: '&cYour tempjail has been denied!'
Emo: '&cYou cannot tempjail yourself!'
Unban:
MsgToBroadcast: '&7%victim%&6 was unbanned by &7%admin%&6!'
PermaBanned: '&cUnable to unban, &7%victim%&c was Permabanned.'
Failed: '&4%victim%&c is already unbanned!'
Warn:
MsgToVictim: '&6You have been warned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was warned by &7%admin%&6. Reason: &7%reason%&6!'
Denied: '&cYour warning has been denied!'
Emo: '&cYou cannot warn yourself!'
MaxWarn:
MsgToBroadcast: '&7%cmd%&6 performed by Ultrabans on &7%victim%&6. Reason: &7Reached Max Warnings&6!'
Permission: 'You do not have the required permissions.'
Mode:
Second: Second
Minute: Minute
Hour: Hour
Day: Day
Week: Week
Month: Month
Year: Year
#Do Not Change Values Below#
Config:
Version: 3.0


Problém je v tom že se bany nezobrazuji na : http://www.rynok.bluefile.cz/banlist.php
Obrázek

Uživatelský avatar
Mysteria
Příspěvky: 9122
Registrován: 26 pro 2009, 15:40
Reputation: 7
Bydliště: Česká republika
Kontaktovat uživatele:

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#116 Příspěvekod Mysteria » 09 zář 2013, 22:46

Máš v databázi tabulku banlist a v ní nějaké záznamy (řádky)? Pokud ne, tak ti plugin neukládá bany do databáze, nebo jsi ještě žádný ban nedal.

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#117 Příspěvekod vojtamaniak » 10 zář 2013, 06:52

1. Příště sem configy dávej do CODE.
2. Ehm, jak tě napadlo, že v názvu tabulky s IP banama bude tvé heslo do mysql? :D
IPTable má být takto

Kód: Vybrat vše

IPTable: 'banlistip'

a Password má být takto (místo hesloodMysql dej tvé heslo od databáze ;-) ):

Kód: Vybrat vše

Password: 'hesloodMysql'

3. A ten soubor banlist.php, který si sem posílal nemá být stejný jako config pluginu :)

templary
Příspěvky: 107
Registrován: 23 srp 2012, 21:50
Reputation: 0

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#118 Příspěvekod templary » 10 zář 2013, 09:19

Tak po úpravě stále nefunkční

Config :

Kód: Vybrat vše

#Change to MySQL for mysql support#
#Change to SQLite for sqlite support#
Database: MySQL
#MySQL Information#
MySQL:
  Database: 'jdbc:mysql://localhost:3306/gs_27237_1'
  User: 'gs_27237_1'
  Password: 'Mysql heslo'
  Table: 'banlist'
  IPTable: 'banlistip'
#SQLite Information#
SQLite:
  Filename: 'banlist'
#delete dat on ban#
CleanOnBan: true
#clear warnings on ban#
ClearWarnOnBan: false
Log:
  Enabled: true
#Max Warnings#
MaxWarning:
  Enable: false
  Amt: 5
  #ban,kick,ipban,perma,tempban,tempipban#
  Result: ban
  Silent: true
  Reason: 'Max Warnings'
  #Used with Temporary actions#
  Temp:
    Amt: 5
  #sec,min,hour,day,week,month#
    Mode: day
#Default labels#
Label:
  Console: 'Server'
  Reason: 'Unsure'
#change to true or false to enable lockdown#
#also can be done ingame /lockdown#
Lockdown: false
Login:
#Check for duplicates on Login#
  DupeCheck:
    Enable: true
#PingBack joining players, and kick if unreachable. //Experimental#
  ProxyPingBack:
    Enable: false
    #How long in milliseconds to Timeout#
    Timeout: 10000
#This will set the server to sync the database if multiple servers are in place.#
Sync:
  Enabled: false
  #Timing is in Long format Example:#
  #1 Hour = 60 Seconds * 60 Minutes * 20 ServerTickRatePerSec = 72000L
  Timing: 72000L
#Auto Updater#
AutoUpdater:
  Enabled: true
#Chat#
Chat:
  #Checks Chat Messages for a valid IP address#
  #If its not valid, trust me they can't connect to it#
  IPCheck:
    Enable: false
    #Wildcards %scramble% will scramble the ip and %replace% will show your ip instead#
    #If no wildcards are present the message entered will replace the ip#
    #leave blank to erase#
    Blocking: '****'
    #kick,jail,warn,ban,ipban, leave blank for no action#
    Result: warn
    Silent: false
    Reason: 'Advertising'
  #This will allow you to filter out messages containing any words that you define#
  SwearCensor:
    Enable: true
    #Use your imagination these are not for me to decide#
    Words: 'buzerant buzna cubka curak dement děvka dylina kokot kretén kripl kunda kurva kuřbuřt gay lesba pica picus posera zmrd pipka'
    #Wildcards %scramble% will scramble the word#
    #If no wildcards are present the message entered will replace the word#
    #leave blank to erase#
    Blocking: '***'
    #kick,jail,warn,ban,ipban, leave blank for no action#
    Result: warn
    Silent: false
    Reason: 'Slova'
  #Checks if the message is duplicate and disables it#
  SpamCheck:
    Enable: true
    #The amount of messages to give a result#
    Counter: 5
    #kick,jail,warn,ban,ipban, leave blank for no action#
    Result: kick
    Silent: false
    Reason: 'Spam'
Muted:
  Vannila: true
  #When Vanilla: true allowed commands.#
  AllowedCommands:
  - '/login'
  - '/register'
#Jail Configuration#
Jail:
  Mute: true
  Vanilla: true
  #When Vanilla: true allowed commands.#
  AllowedCommands:
  - '/login'
  - '/register'
Messages:
  Ban:
    MsgToVictim: '&6You have been banned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was banned by &7%admin%&6. Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already in banned.'
    Denied: '&cYour ban attempt has been denied!'
    Emo: '&cYou cannot ban yourself!'
    Login: '&7%admin%&6 banned you from this server! Reason: &7%reason%&6!'
  CheckBan:
    Header: '&6Found &7%amt%&6 records for &7%victim%&6.'
    None: '&cNo records found for &4%victim%&c.'
  Clean:
    Complete: '&6Deleted &7%amt%&6 player.dat files.'
  DupeIP:
    Failed: '&cUnable to view ip for &4%victim% &c!'
    Header: '&6Scanning Current IP of &7%victim%&6: &7%ip% !'
    Completed: '&aScanning Complete!'
  Empty:
    MsgToVictim: '&7%admin%&6 has cleared your inventory!'
    MsgToSender: '&7%admin%&6 has cleared the inventory of &7%victim%&6!'
    Online: '&4%victim%&c must be online.'
  Export:
    Failed: '&cCould not export ban lists.'
    Completed: '&aExported banlists.'
  History:
    Header: '&6Ultrabans Listing &7%amt%&6 Records.'
    Failed: '&cUnable to find any bans.'
  Import:
    Loading: '&cBe patient. Loading...'
    Failed: '&cCould not import ban list.'
    Completed: '&aSystem imported the banlist to the database.'
  InvOf:
    Failed: '&cUnable to find player.'
    Console: '&cThis command must be executed by a &4player&c.'
  IPBan:
    MsgToVictim: '&6You have been ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
    IPNotFound: '&cIP address not found. &6Processed as a normal ban for &7%victim%&6!'
    Failed: '&4%victim%&c is already in banned.'
    Denied: '&cYour ipban attempt has been denied!'
    Emo: '&cYou cannot ipban yourself!'
    Login: '&7Your IP is banned!'
  Jail:
    MsgToVictim: '&6You have been jailed by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was jailed by &7%admin%&6. Reason: &7%reason%&6!'
    SetJail: '&aJail has been set!'
    SetRelease: '&aRelease has been set!'
    Failed: '&4%victim%&c is already in jail.'
    Online: '&4%victim%&c must be online to be jailed.'
    Denied: '&cYour jail attempt has been denied!'
    Emo: '&cYou cannot jail yourself!'
    PlaceMsg: '&cYou cannot place blocks while you are jailed!'
    BreakMsg: '&cYou cannot break blocks while you are jailed!'
  Kick:
    MsgToAll: '&6Everyone has been kicked by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToVictim: '&6You have been kicked by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was kicked by &7%admin%&6. Reason: &7%reason%&6!'
    Online: '&4%victim%&c must be online.'
    Denied: '&cYour kick has been denied!'
    Emo: '&cYou cannot kick yourself!'
  Lockdown:
    Start: '&cLockdown initiated. &4Player Login&c disabled.'
    End: '&aLockdown ended. &2Player Login&a reenabled.'
    Status: '&cLockdown is disabled.'
    LoginMsg: '&4Server is under a lockdown, Try again later!&c Sorry.'
  Mute:
    MuteMsgToSender: '&6You have muted &7%victim%&6.'
    MuteMsgToVictim: '&4You have been muted!'
    UnmuteMsgToSender: '&6You have unmuted &7%victim%&6.'
    UnmuteMsgToVictim: '&aYou have been unmuted.'
    Denied: '&cYour mute has been denied!'
    Emo: '&cYou cannot mute yourself!'
    Chat: '&cYour cry falls on deaf ears.'
  Pardon:
    Msg: '&7%victim%&6 was released from jail by &7%admin%&6!'
  PermaBan:
    MsgToVictim: '&6You have been permabanned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was permabanned by &7%admin%&6. Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already banned.'
    Online: '&4%victim%&c must be online.'
    Denied: '&cYour permaban has been denied!'
    Emo: '&cYou cannot permaban yourself!'
  Spawn:
    MsgToVictim: '&cYou have been sent to spawn!'
    MsgToSender: '&7%victim%&6 is now at spawn!'
    Failed: '&4%victim%&c is not online.'
  Starve:
    MsgToVictim: '&cYou are now starving!'
    MsgToSender: '&6%victim%&7 is now starving!'
    Failed: '&4%victim%&c is not online.'
    Denied: '&cYour starve attempt has been denied!'
    Emo: '&cYou cannot starve yourself!'
  TempBan:
    MsgToVictim: '&6You have been tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already tempbanned!'
    Denied: '&cYour tempban has been denied!'
    Emo: '&cYou cannot tempban yourself!'
    Login: '&6You have been tempbanned by &7%admin%&6 for &7%time%&6. Reason: &7%reason%&6!'
  TempIpBan:
    MsgToVictim: '&6You have been tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already tempipbanned!'
    Denied: '&cYour tempipban has been denied!'
    Emo: '&cYou cannot tempipban yourself!'
    IPNotFound: '&cIP address not found.&6 Processed as a normal tempban for &7%victim%&6!'
  TempJail:
    MsgToVictim: '&6You have been tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already jailed!'
    Denied: '&cYour tempjail has been denied!'
    Emo: '&cYou cannot tempjail yourself!'
  Unban:
    MsgToBroadcast: '&7%victim%&6 was unbanned by &7%admin%&6!'
    PermaBanned: '&cUnable to unban, &7%victim%&c was Permabanned.'
    Failed: '&4%victim%&c is already unbanned!'
  Warn:
    MsgToVictim: '&6You have been warned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was warned by &7%admin%&6. Reason: &7%reason%&6!'
    Denied: '&cYour warning has been denied!'
    Emo: '&cYou cannot warn yourself!'
  MaxWarn:
    MsgToBroadcast: '&7%cmd%&6 performed by Ultrabans on &7%victim%&6. Reason: &7Reached Max Warnings&6!'
  Permission: 'You do not have the required permissions.'
Mode:
  Second: Second
  Minute: Minute
  Hour: Hour
  Day: Day
  Week: Week
  Month: Month
  Year: Year
#Do Not Change Values Below#
Config:
  Version: 3.0


Balist.db
http://2i.cz/2i/i/522ed54f/068947c59973f948c929578ad876e48a/cf6b7a5083.f.png
Neslo skopirovat

Banlist.Php zustava stejný ale projistotu

Kód: Vybrat vše

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Rynok</title>
</head>
<body>
<h1>Banlist Serveru Rynok</h1>
<?php

// change these things

   $server = "droid.fakaheda.eu";
   $dbuser = "129740_mysql_db";
   $dbpass = "Heslo mysql";
   $dbname = "129740_mysql_db";
   
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($dbname);

$result = mysql_query("SELECT * FROM banlist ORDER BY id DESC");
//This will display the most recent by id edit this query how you see fit. Limit, Order, ect.
echo "<table width=100% border=1 cellpadding=3 cellspacing=0>";

echo "<tr style=\"font-weight:bold\">
<td>Typ :</td>
<td>Jmeno Hrace :</td>
<td>Duvod :</td>
<td>Jmeno Admina :</td>
<td>Ban Udelen :</td>
<td>Vyprseni Banu :</td>
<td>id :</td>

</tr>";

while($row = mysql_fetch_assoc($result)){

if($col == "#eeeeee"){
$col = "#ffffff";
}else{
$col = "#eeeeee";
}
echo "<tr bgcolor=$col>";
if($row['type'] == "5"){
echo "<td>Un-Banován</td>";
}else{
    if($row['type'] == "3"){
    echo "<td>Kick</td>";
    }else{
        if($row['type'] == "2"){
        echo "<td>Varování</td>";
        }else{
            if($row['type'] == "0"){
            echo "<td>Ban</td>";
            }else{
                if($row['type'] == "1"){
                echo "<td>IP-Ban</td>";
                }else{
                    if($row['type'] == "4"){
                    echo "<td>Fine</td>";
                    }else{
                        if($row['type'] == "6"){
                        echo "<td>Jailed</td>";
                        }else{
                            if($row['type'] == "9"){
                            echo "<td>Perma-Ban</td>";
                            }else{
                            echo "<td>Unknown</td>";
//Holy Epic If Statement Batman!
                            }
                        }
                    }
                }
            }
        }
    }
}
echo "<td>".$row['name']."</td>";
echo "<td>".$row['reason']."</td>";
echo "<td>".$row['admin']."</td>";
//Convert Epoch Time to Standard format
$datetime = date("F j, Y, g:i a", $row['time']);
echo "<td>$datetime</td>";
$dateconvert = date("F j, Y, g:i a", $row['temptime']); 
if($row['temptime'] == "0"){
echo "<td>None</td>";
}else{
echo "<td>$dateconvert</td>";
}
echo "<td>".$row['id']."</td>";

echo "</tr>";
}

echo"</table>"

?>
</div>
Rynok.
</body></html>



Jinak bany sem dávat zkoušel fungují ale nezobrazí se na internetu
Obrázek

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#119 Příspěvekod vojtamaniak » 10 zář 2013, 15:51

Proč se přihlašuješ v tom php scriptu pod jiným username a do jiné dababáze než v tom configu od UltraBans? :)

hroch24
Příspěvky: 125
Registrován: 23 dub 2013, 18:45
Reputation: 0

Re: UltraBans - Lepší než KiwiAdmin + Web Banlist

#120 Příspěvekod hroch24 » 30 bře 2014, 21:56

Dasa tam daj aj obrazok?,aby to nebolo biele?


Zpět na „Návody“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 7 hostů