Zdravím,
mám problém s banlistem přes BanManager. Když zadávám heslo a dám Sign In tak se stránka obnoví a zase jsem na přihlášení. Práva souboru settings.php mám nastavené na 777.
zde mám setinngs.php:
Spoiler: zobrazit
Kód: Vybrat vše
<?php
/**
* This is the general configuaration file for Ban Management.
* In here you can control your encoding for server transfers,
* define what tables you want enabled, set your password for ACP,
* and more.
**/
$settings['utf8'] = true; // Encoding (Recommended TRUE)
$settings['latest_bans'] = true; // Latest Bans table
$settings['latest_mutes'] = true; // Latest Mutes table
$settings['latest_warnings'] = true; // Latest warnings table
$settings['servers'] = '';
$settings['password'] = 'mojeheslo'; // ACP Password (Keep it strong)
$settings['footer'] = '© Your Server '.date('Y'); // Footer for all pages
$settings['admin_link'] = true; // Show the admin link in the footer of all page
$settings['bm_info'] = true; // Show ban management infomation aside 'Account Status'
$settings['bm_info_icon'] = true; // Show the 'info' icon next to the title of bm_info
$settings['pastbans'] = true; // Show amount of players banned under the search
$settings['player_current_ban'] = true;
$settings['player_current_mute'] = true;
$settings['player_previous_bans'] = true;
$settings['player_previous_mutes'] = true;
$settings['player_kicks'] = true;
$settings['player_warnings'] = true;
$settings['player_current_ban_extra_html'] = '';
$settings['player_current_mute_extra_html'] = '';
/**
* These are the language options for Ban Management
**/
$language['brand'] = 'Ban Management'; // The branding of all pages
$language['header-title'] = 'Account Status'; // Edit the 'Account Status' text above the search
$language['description'] = ''; // Meta Description for search engines
$language['title'] = 'Ban Management by Frostcast'; // Title of all pages
$language['latest_bans_title'] = 'Recent Bans'; // The text displayed over the latest bans table
$language['latest_mutes_title'] = 'Recent Mutes'; // The text displayed over the latest mutes table
$language['latest_warnings_title'] = 'Recent Warnings'; // The text displayed over the latest warnings table
$language['nav-home'] = 'Home'; // The text displayed in the navbar for 'Home'
$language['nav-stats'] = 'Statistics'; // The text displayed in the navbar for 'Servers'
$language['past_player_bans'] = 'Past Player Bans'; // The text displayed on the homepage
$language['bm_info_text'] = // The text displayed if bm_info is set to true. Enter your text below, HTML elements supported
'
Ban Management is powerful ban and mute application that allows players to check if and why they were banned or muted and who
it was by. You can also see how much time is left of your ban or mute.
';
/**
* These are the settings for editing the layout of Ban Management
**/
$theme['navbar-dark'] = false; // Enable dark theme for the navbar
?>
A zde mám config.yml v MC:
Spoiler: zobrazit
Kód: Vybrat vše
# Default configuration file for James' BanManagement Plugin
#
# Required. If the connection info is wrong, the plugin may hang on startup and will eventually disable itself
localDatabase:
host: bruce.fakaheda.eu
port: 3306
database: 176391_mysql_db
username: 176391_mysql_db
password: mojeheslo
bansTable: bm_bans
bansRecordTable: bm_ban_records
ipBansTable: bm_ip_bans
ipBansRecordTable: bm_ip_records
kicksTable: bm_kicks
mutesTable: bm_mutes
mutesRecordTable: bm_mutes_records
playerIpsTable: bm_player_ips
warningsTable: bm_warnings
banAppealsTable: bm_ban_appeals
pinsTable: bm_pins
staffTable: bm_staff
externalDatabase:
enabled: false
host: localhost
port: 3306
database: frostcast
username: root
password: ''
bansTable: bm_ban_all
unbansTable: bm_unban_all
ipBansTable: bm_ipban_all
ipUnbansTable: bm_ipunban_all
mutesTable: bm_mute_all
unmutesTable: bm_unmute_all
useUTF8: true
logIPs: true
bypassDuplicateChecks:
- 0.0.0.0
serverName: ''
checkForUpdates: true
logKicks: false
cleanUp:
kicks: 30
banRecords: 0
ipBanRecords: 0
muteRecords: 0
playerIPs: 30
warnings: 0
mutedCommandBlacklist:
- msg
warningActions:
enabled: false
'10': ban [name] [reason]
warningCooldown:
enabled: false
cooldown: 10
useSyncChat: false
timeLimits:
mutes:
Moderator: 1h
bans:
Moderator: 1d
use-partial-names: true
bukkit-ban: true
messages:
ban: '[name] has been banned for [reason]'
banKick: You have been banned for [reason]
tempBan: '[name] has been banned for [expires] for [reason] by [by]'
tempBanKick: You have been temporarily banned for [reason]
ipBan: '&c[ip] has been banned for [reason]'
ipTempBan: '[ip] has been temporarily banned for [reason] by [by]'
ipBanKick: Your IP has been banned for [reason]
kicked: '[name] has been kicked by [by] for [reason]'
kickedNo: '[name] has been kicked by [by]'
kickReason: You have been kicked for [reason]
kickNoReason: You have been kicked
disconnectBan: You have been banned from this server for [reason]
disconnectTempBan: 'Your ban expires in [expires] Reason: [reason]'
disconnectIpBan: Your IP has been banned from this server for [reason]
disconnectTempIpBan: 'Your ban expires in [expires] Reason: [reason]'
mute: '[name] has been muted for [reason] by [by]'
muted: You have been permanently muted for [reason] by [by]
tempMute: '[name] has been muted for [reason] by [by] which expires in [expires]'
tempMuted: You have been temporarily muted for [reason] by [by] which expires in [expires]
commandPermissionError: '&cYou do not have permission to use this command'
banSelfError: '&cYou can''t ban yourself fool!'
banExemptError: '&cYou do not have permission to ban this player'
alreadyBannedError: '&c[name] is already banned'
playerBanned: '[name] has been banned'
multiplePlayersFoundError: '&cmultiple players found, please be more specific'
importInProgressError: '&cAn import is already in progress'
beginingPlayerImport: '&6Beginning banned player import'
scanningDatabase: '&6'
scanPlayersFound: '&6Players found: [found]'
noPlayersImport: '&cNo players need importing, yay less work for me!'
percentagePlayersImported: '&6[percent]% of players imported'
playerImportComplete: '&6Player import complete!'
beginingIpImport: '&6Beginning banned ip import'
scanIpsFound: '&6Players found: [found]'
noIpsImport: '&cNo IPs need importing, yay less work for me!'
percentageIPsImported: '&6[percent]% of IPs imported'
ipImportComplete: '&6IP import complete!'
bmInfo: '&cName: &6[name]\n&cCurrent Ban: [currentBan]\n&cPrevious Bans: [previousBans]\n&cCurrent
Mute: [currentMute]\n&cPrevious Mutes: [previousMutes]\n&cKicks: [kicksCount]\n&cWarnings:
[warningsCount]'
ipBanned: '[ip] has been banned'
ipTempBanned: '[ip] has been banned temporarily'
ipSelfError: '&cYou can''t ip ban yourself fool!'
ipPlayerOfflineError: '&c[name] is offline, unable to retrieve IP'
ipTempBanKick: You have been temporarily banned for [reason]
kickSelfError: '&cYou can''t kick yourself fool!'
kickExemptError: '&cYou do not have permission to kick this player'
playerKicked: '[name] has been kicked'
playerNotOnline: '&cPlayer not found, are they online?'
muteSelfError: '&cYou can''t mute yourself fool!'
muteExemptError: '&cYou do not have permission to mute this player'
alreadyMutedError: '&c[name] is already muted'
playerMuted: '[name] has been muted'
mutedBlacklistedCommand: '&cYou may not use that command whilst muted!'
illegalDateError: '&cIllegal Date Format'
playerTempBanned: '[name] has been temporarily banned'
playerTempMuted: '[name] has been temporarily muted'
unbanError: '&cYou can''t unban someone who isn''t banned!'
playerUnbanned: '[name] has been unbanned'
ipUnbanned: '[ip] has been unbanned'
ipNotBannedError: '&c[ip] is not currently banned. You can''t unban someone who
isn''t banned!'
invalidIp: '&cInvalid IP!'
invalidPlayer: '&cInvalid Player!'
playerUnmuted: '[name] has been unmuted'
playerNotMutedError: '&cYou can''t unmute someone who isn''t muted!'
updateAvailable: '&A[version] update available'
banTimeLimitError: '&cYou cannot ban for that length of time'
muteTimeLimitError: '&cYou cannot mute for that length of time'
warnSelfError: '&cYou can''t warn yourself fool!'
warnExemptError: '&cYou do not have permission to warn this player'
playerWarned: '[name] has been warned'
warnCooldown: '&cThis player was warned too recently, try again later'
warned: '&cYou have been warned by [by] for the following:\n[reason]'
duplicateIP: '&cWarning: [player] has the same IP as the following banned players:\n&6[players]'
consoleName: Console
configReloaded: '&a[BanManager] Config Reloaded.'
invalidClearType: '&cInvalid clear type, available options are banrecords, muterecords,
kicks and warnings.'
playerRecordCleared: '[name] has had their [recordType] cleared'
playerLastWarningDeleted: '[name] has had their last warning deleted'
timeNow: now
timeYear: year
timeYears: years
timeMonth: month
timeMonths: months
timeDay: day
timeDays: days
timeHour: hour
timeHours: hours
timeMinute: minute
timeMinutes: minutes
timeSecond: second
timeSeconds: seconds
Děkuji