IConomy

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Magic-Sector
Příspěvky: 237
Registrován: 16 bře 2013, 10:46
Reputation: 0

IConomy

#1 Příspěvekod Magic-Sector » 30 bře 2013, 07:29

Server: som spolumajitel 93.91.250.207:27372

Prosim pomzete mi spojit s mysql iConomy ?
Meno db: test
heslo db:test
adresa db:extreme.fakaheda.eu

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/iConomy'

# Login details for binary databases
Username: 'root'
Password: ''

##############################################################
# !!! 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: 'H2DB'

# Database Table
Table: 'iConomy'

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

# Username / Password
# H2DB does not use this. MySQL Only.
Username: 'user'
Password: 'password'

# Unused ATM.
All: true
Pomohol som ? Karma+

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

Re: IConomy

#2 Příspěvekod vojtamaniak » 30 bře 2013, 08:26

Příště configy dávej do code...
Spoiler: zobrazit
Změň

Kód: Vybrat vše

Type: 'minidb'

na

Kód: Vybrat vše

Type: 'mysql'

Dále

Kód: Vybrat vše

URL: 'mysql://localhost:3306/iConomy'

na

Kód: Vybrat vše

URL: 'mysql://localhost:3306/JMENODATABAZE' -- jméno DB změň

Potom taky:

Kód: Vybrat vše

# Login details for binary databases
Username: 'root'
Password: ''

na

Kód: Vybrat vše

# Login details for binary databases
Username: 'UZIVATELSKEJMENO' -- taky změň
Password: 'HESLODOMYSQL' -- taky změnit


A pokud chceš stará data, která jsi měl dříve v souboru, dát do databáze, zapni si conversion (pár řádku od nastavení MySQL a tam také nezapomeň uvést uživatelské jméno a heslo... A po nastartování serveru to zase změň Enabled na false!!

Pokud je něco nejasné, napiš.

Nezbednik
Příspěvky: 65
Registrován: 15 dub 2012, 12:02
Reputation: 0

Re: IConomy

#3 Příspěvekod Nezbednik » 30 bře 2013, 08:39

Vidim ze si ma predbehol :D


Najprv si najdi riadok a zmen to podla tohto:

Kód: Vybrat vše

  # postgre, postgreSQL, postgreDB
    #  - These will attempt to connect to PostgreSQL
    Type: [b]'mysql'[/b]
 

Potom si najdi toto a zmen podla tohto:

Kód: Vybrat vše

    # [MySQL Default] mysql://localhost:3306/iConomy
    # [Postgre Default] postgresql://localhost:5740/iConomy
    URL: 'mysql://[b]xxx.fakaheda.eu[/b]:3306/iConomy'

    # Login details for binary databases
    Username: [b]'menodatabazy'[/b]
    Password: [b]'heslodatabazy'[/b]

za to xxx.fakaheda.eu si dosad svoj udaj..
Naposledy upravil(a) Nezbednik dne 30 bře 2013, 08:42, celkem upraveno 1 x.
Majiteľ serveru GamCraft - 93.91.250.129:27713

Magic-Sector
Příspěvky: 237
Registrován: 16 bře 2013, 10:46
Reputation: 0

Re: IConomy

#4 Příspěvekod Magic-Sector » 30 bře 2013, 08:40

ok diki Karmu mas
//LOCK

//LOCK
Pomohol som ? Karma+


Zpět na „Minecraft, Tekkit“

Kdo je online

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