Je toho moc :D

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Daniel
Příspěvky: 180
Registrován: 30 črc 2012, 06:13
Reputation: 0

Je toho moc :D

#1 Příspěvekod Daniel » 22 srp 2012, 23:30

V popisu

Ahoj, mám tu menší 4 problémky :)
Tak 1. Mohu se zeptat, jak nastavit iConomy, aby se mi napojilo na MySQL? Mam to takto, a nejde mit to.
Config:
Spoiler: zobrazit
# iConomy 6.0.8b
# @author Nijikokun <nijikokun@gmail.com>
# @license GPLv2
# @copyright Copyright AniGaiku LLC (C) 2010-2011
##
# Setup Notes
# - Seconds
# Basic Table:
# 1 minute = 60 seconds
# 1 hour = 1 minute * 60 = 3600 seconds
# 1 day = 1 hour * 24 = 86400 seconds
# 1 week = 1 day * 7 = 604800 seconds
# - Database
# Do not use remote databases from free sites, please use either a
# remote database from a personal hosted VPS or DEDI or a local
# database. This will prevent any 'timeout' or 'invalid settings'
# or 'cannot connect to database' issues. Thank you :)!
##

System:
Permissions:
Use:
# Should a user have the 'iConomy.holdings' to use /money
# By default this is false, so that people stop complaining that
# iConomy doesn't work. Yes, people actually report that.
# If you are one of those people, leave this false.
Holdings: false

Default:
Currency:
# Major is the first segment [Major].Minor

# Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
Major: [ 'Dollar', 'Dollars' ]

# Minor (Major.[Minor]) 0.23 Coins (With Seperate 0 Dollars, 23 Coins)
Minor: [ 'Coin', 'Coins' ]

Account:
# Default account balance when created
Holdings: 30.0

# Controls how money is formatted through methods
Formatting:
# Minor allows you to use the Minor amounts for amounts <1
# Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
Minor: false

# Seperate allows your money to be shown in an alternative way,
# instead of 1.32 it will show as 1 Dollar 23 Coins
# !!! NOTICE: This only works if Minor is set to true !!!
Seperate: false # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)

# Single shows your money in another alternative way.
# Instead of 1.23 Dollars you will see: 1 Dollar.
# If your money is 0.23 you will see 0 Dollars if Minor is false, 23 Coins if Minor is true.
# !!! Notice: This overrides seperate !!!
Single: false

# Logs all monetary transactions passed through iConomy
Logging:
Enabled: false

# Purges Default Balances at Loading
# Good way to keep unused accounts or default accounts wiped out and lower database usage.
Purging:
Enabled: true

# Controls amount of money gained at a set interval.
Interest:
Enabled: false

# Only give interest to players who are currently online?
Online: true

Announce:
# Send a message when the player gains interest?
Enabled: false

Interval:
# Interval is done in seconds, here is a easy reference table for commonly set intervals:
# 1 minute = 60 seconds
# 1 hour = 1 minute * 60 = 3600 seconds
# 1 day = 1 hour * 24 = 86400 seconds
# 1 week = 1 day * 7 = 604800 seconds
Seconds: 60

Amount:
# The balance to be met where we stop giving interest.
# 0.0 for no limit
Cutoff: 0.0

# Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
Percent: 0.0

# This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
# If the two numbers are different, it will be a random amount in-between the two.
Maximum: 1
Minimum: 2

Database:
# Databases Supported:
# Flatfile, FF, mini, minidb
# - These all equate to miniDB
##
# item, items, inventory, inventoryDB
# - These all equate to InventoryDB, which uses inventory for storage
##
# xp, exp, orb, xpdb, expdb, orbdb
# - These all equate to ExperienceDB, which relies on Experience for balance.
##
# mysql, mysqldb
# - These will attempt to connect to MySQL
##
# sqlite, sqlite2, sqlite3, sqlitedb
# - These will attempt to create & connect to SQLite
##
# postgre, postgreSQL, postgreDB
# - These will attempt to connect to PostgreSQL
Type: 'minidb'

# These are for InventoryDB only.
#
# InventoryDB is essentially Physical Money.
# It isn't logged in a database, its based on the users inventory
# and the two items selected below.
#
# MajorItem is the item or block ID of the major currency
# MinorItem is the item or block ID of the minor currency
# e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
MajorItem: 266
MinorItem: 265

# This controls the database name, by default it is iConomy
Table: 'iConomy'

# URL is for SQL Databases Only
##
# Path to iConomy folder is easy, it's the COMPLETE path.
# (Mine) G:\MineCraft\plugins\iConomy\
# Won't be the same as yours, but it usually looks like that.
##
# [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
# [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
##
# Binary Databases use ip:port style connections.
# ip
# - is the connection identifier (internet protocol)
# - for ipv6 usually encased in brackets [::1]
# port
# - the port that the database is listening on
# - defaults: 3306 for mysql, postgre is either 5740 or 5432
##
# [MySQL Default] mysql://localhost:3306/iConomy
# [Postgre Default] postgresql://localhost:5740/iConomy
URL: 'mysql://localhost:3306/gs_27426_1'

# Login details for binary databases
Username: 'gs_27426_1'
Password: 'Heslo'

##############################################################
# !!! Conversion is not your database settings !!!
##############################################################
# Conversion allows you to convert your old 5.x to the new 6.x
# All is currently unused.
##############################################################
# URL is for MySQL only, H2DB doesn't use it.
##############################################################
Conversion:
# Set to True, After converting, change this back to false!
Enabled: false

# Database Type, H2DB or MySQL
Type: 'MySQL'

# Database Table
Table: 'iConomy'

# Database URL without table at the end.
URL: 'mysql://localhost:3306/gs_27426_1'

# Username / Password
# H2DB does not use this. MySQL Only.
Username: 'gs_27426_1'
Password: 'Heslo'

# Unused ATM.
All: true


2. Mám starší verzy pluginu Frakce, ale stále mi nejde barevné písmo, které mám nastavené
zde config ChatManageru
Spoiler: zobrazit

Kód: Vybrat vše

General:
  Use-Permissions: true
  Use-Vault: true
  Debug: false
  Statistics:
    Enabled: true
    GUID: ef1ed78a-a270-4e76-bb16-3bcaa9ab94e7
  Aliases:
    Channel: false
Format:
  Message: '%prefix%%name%%suffix%: %msg%'
  Colorcodes: true
Channel:
  List:
    Entry: '%mode% %availability% %name% %players%'
  Default: Default
Highlighter:
  Enabled: true
  Learn: true
IO:
  Show-Prefix: true
  Prefix: '&4[ChatManager]'
  Error: '&c[Chyba]'
  Warning: '&e[Pozor]'
  Language: en
  ColoredLogs: true
  HelpFormat: '&e%cmd% %args%: &f%desc%'


Zde config PermissionsEx
Spoiler: zobrazit

Kód: Vybrat vše

groups:
  Hrac:
    prefix: '&a[Hrac]&f'
    suffix: '&a'
    default: true
    permissions:
    - modifyworld.*
    - essentials.time
    - iconomy.payment
    - essentials.afk
    - essentials.help
    - essentials.list
    - essentials.mail
    - essentials.mail.send
    - essentials.msg
    - essentials.delhome
    - essentials.home
    - essentials.sethome
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpdeny
    - essentials.spawn
    - essentials.warp
    - essentials.kit
    - essentials.kit[name]
    - -creativegates.create
    - gates.use.*
    - gates.create
    - signlift.use.normal
    - signlift.create.*
  Majitel:
    prefix: '&3[Majitel]&f'
    suffix: '&3'
    permissions:
    - '*'
    - modifyworld.*
  Hl.Admin:
    prefix: '&b[Hl.Admin]&f'
    suffix: '&b'
    permissions:
    - '*'
    - modifyworld.*
  Admin:
    prefix: '&b[Admin]&f'
    suffix: '&b'
    permissions:
    - modifyworld.*
    - essentials.time
    - iconomy.payment
    - essentials.afk
    - essentials.help
    - essentials.list
    - essentials.mail
    - essentials.mail.send
    - essentials.msg
    - essentials.delhome
    - essentials.home
    - essentials.sethome
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpdeny
    - essentials.spawn
    - gates.use.*
    - gates.create
    - signlift.use.normal
    - signlift.create.*
    - ultraban.kick
    - ultraban.ban
    - ultraban.unban
    - ultraban.warn
    - simplereserve.kick
    - simplereserve.kick.prevent
  Builder:
    prefix: '&4[Builder]&f'
    suffix: '&4'
    permissions:
    - modifyworld.*
    - essentials.gamemode
    - factions.managewarzone
    - factions.managesafezone
    - worldedit.*
  VIP:
    prefix: '&6[VIP]&f'
    suffix: '&6'
    permissions:
    - modifyworld.*
    - essentials.time
    - iconomy.payment
    - essentials.afk
    - essentials.help
    - essentials.list
    - essentials.mail
    - essentials.mail.send
    - essentials.msg
    - essentials.delhome
    - essentials.home
    - essentials.sethome
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpdeny
    - essentials.spawn
    - essentials.kit
    - essentials.kit.[kitname]
    - essentials.kit.vip
    - essentials.ignore
    - essentials.warp
    - gates.use.*
    - gates.create
    - chestbank.use
    - signlift.use.normal
    - signlift.create.*
    - essentials.signs.use.time
    - essentials.signs.use.weather
    - simplereserve.enter.kick
    - simplereserve.kick.prevent
    - EnderpearlDisable.Enable
users:
  PlayerDaniiik:
    group:
    - Majitel


3. Nevíte, jak nastavit u pluginu Gates, Defaultní bránu, ne, aby byla brána napsaná na nějaké jméno, ale aby byla pro všechny.

A za 4. Dělal jsem VIP od fh na návod od Sejsela, ale mám tam nějaké chyby, a nemohu na ně přijít.Byl by někdo tak ochoten a pomohl by mi stím? Třeba zítra dopoledne na TS3, nebo skype? Byl bych velmi rád a poděkoval bych karmou ( 5x ) :D
S pozdravem Daniel.
Minecraft PvP server IP: 93.91.250.122:27426
[Frakce, mcMMO a mnoho dalšího!]

Pomohl jsem ti?Budu rád za karmu+

Uživatelský avatar
Gribly
Příspěvky: 356
Registrován: 22 bře 2012, 09:06
Reputation: 0
Kontaktovat uživatele:

Re: Je toho moc :D

#2 Příspěvekod Gribly » 23 srp 2012, 01:21

1)
1.Skus změnit řádek: Type: 'minidb' na Type: 'mysql'
2.Dole řádek
# Database URL without table at the end.
URL: 'mysql://localhost:3306/gs_27426_1'


na

# Database URL without table at the end.
URL: 'bruce.fakaheda.eu'


bruce být nemusí podle toho co máš ty, já zrovna bruce, a mělo by to fachat.
Obrázek

Daniel
Příspěvky: 180
Registrován: 30 črc 2012, 06:13
Reputation: 0

Re: Je toho moc :D

#3 Příspěvekod Daniel » 23 srp 2012, 07:14

A jak poznám, co mám já? :D
Když ty máš bruce :D
Minecraft PvP server IP: 93.91.250.122:27426
[Frakce, mcMMO a mnoho dalšího!]

Pomohl jsem ti?Budu rád za karmu+

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: Je toho moc :D

#4 Příspěvekod nejento » 23 srp 2012, 13:08

Nezjišťuj. Nech tam localhost. Jenom musíš nastavit tohle z file na MySQL.
Type: 'minidb'
na
Type: 'mysql'

ChatManager, podle configu není ChatManager z balíčku PermissionsEx. A jiný ChatManager ani není.
Jeho config vypadá takto:
Spoiler: zobrazit

Kód: Vybrat vše

enable: true
chat-range: 100.0
display-name-format: '%prefix%player%suffix'
global-message-format:  &e%message
message-format:  %message
ranged-mode: false

Proto, zkus nainstalovat ten (v balíčku PermissionsEx)

Jaký plugin Gates?

Co ti nejde?

S pozdravem nejento :P
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/

Daniel
Příspěvky: 180
Registrován: 30 črc 2012, 06:13
Reputation: 0

Re: Je toho moc :D

#5 Příspěvekod Daniel » 23 srp 2012, 13:30

Gates už mám vyřešen :) je to plugin na Hradní brány, nebo tak něco :D
Ok zkusim přeinstalovat ChatManager.A na to MySQL juknu.
Minecraft PvP server IP: 93.91.250.122:27426
[Frakce, mcMMO a mnoho dalšího!]

Pomohl jsem ti?Budu rád za karmu+


Zpět na „Minecraft, Tekkit“

Kdo je online

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