SurvivalGames na DB

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
karbon222
Příspěvky: 3
Registrován: 04 srp 2012, 19:02
Reputation: 0

SurvivalGames na DB

#1 Příspěvekod karbon222 » 05 čer 2013, 16:43

gemli.fakaheda.eu:27049



Ahoj, snažím se napojit plugin survivalgames na databázi ale bezvýsledně :(
Nevíte, co dělám špatně?

Spoiler: zobrazit

Kód: Vybrat vše

################################################
#               Survival Games                 #
#                                              #
#                Developed by                  #
#               Double0negative                #
#                                              #
#                                              #
#                mc-sg.org                     #
#                                              #
################################################


###DO NOT CHANGE THIS UNLESS YOU WANT YOUR CONFIG TO RESET###
config-version: 1




#set how many players are needed for the game
#to auto-start. Once the player limit is reached
#it will wait for x amount of seconds for
#additional players. Auto start vote means that
#x percent of players need to vote with /sg vote
#for the game to begin
auto-start-players: 2
auto-start-time: 20
auto-start-vote: 30

#If the player queue is enabled the if a player
#tries to join a game that is not joinable
#(ie ingame) the player will be added to a
#queue line to join the next time the game
#is open
enable-player-queue: true

#if set to true, commands not associated with
#the survival games will not be allowed to
#players in-game
disallow-commands: true

#set how long each player should
#be invincible for after the start of
#the game in seconds
grace-period: 15

#Sets if chest should be restocked on the first
#night. If set to true this will also have the side
#effect of setting the world time to Day at the start
#of the game. This is only temporary until per-arena time
#has been implemented
restock-chest: true



block:
  place:
    whitelist:
    - 18
    - 105
    - 31
    - 37
    - 38
    - 50
    - 103
    - 43
  break:
    whitelist:
    - 18
    - 105
    - 31
    - 37
    - 38
    - 50
    - 103
    - 43



#if mob-progression is enabled, then the
#difficulty of mobs and amount of mobs
#spawning will increase with a decrease
#of players. The ratio defines how much
#harder it should get for every person
#out. a ratio of 2 whould mean 2x harder
#The mob blacklist definesmobs that should
#not spawn.

##________NOT IMPLEMETED____________
mob-progression:
  enabled: true
  ratio: 2
  mob-blacklist:
  - slime
 
#if set to true, the logging manager
#will use sql to save block data. Otherwise
#it will be stored into memory.
logging:
  usesql: false
 
#settings for the endgame. This enables
#when there are only x amount of players
#remaining. If place chest is enabled then
#when the player limit is reached, a chest
#will be placed inside the radius of every
#remain player contianing random items for
#that player. If fire-lighting is enabled
#the a lighting strike will be fired at the
#location of each player every x seconds to
#notify the other players of their location

endgame:
  players: 3
  fire-lighting:
    enabled: true
    interval: 20

#settings for connecting to the
#sql server. These settings will
#be used for both the online webstats
#and for logging block changes for the
#automated rollback. Prefix is what all
#tables used for surivalgames will be
#prefixed with. This should stay the same
# for most cases. Server prefix allows you
#To prefix arenaID's with a server prefix.
#This is useful if you have multiple servers
#and you want to have them on the same database
#and they have the same arenaID's but you want to
#keep them seperate. If you only have 1 server,
#leave this blank.
sql:
  host: '93.91.250.130'
  port: '3306'
  user: '124543_mysql_db'
  pass: 'heslo'
  database: '124543_mysql_db'
  prefix: 'sg_'
  server-prefix : ''

#Settings for the webstats. If enabled, stats
#such as k/d record, wins, win streaks, kill
#streaks etc will be saved.  If webserver is
#enabled then a webserver will be started on the
#<yourserverip>:<port> and allow people to view
#the stats online.

##_______Online webserver not implemented. Use the
#PHP backend instead. ______________
stats:
  enabled: false
  points:
    kill: 10
    win: 300
    position: 7
    killstreak:
      base: 10
      multiplier: 2
  killstreak:
    level1: '&e{player}&7 Double Kill!'
    level2: '&e{player}&9 Multi Kill!'
    level3: '&e{player}&5 Ultra Kill!'
    level4: '&e{player}&4 Unbelievable Kill!'
    level5: '&e{player}&a&kii&4&l Unbelievable+!&a&kii'
   

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

Re: SurvivalGames na DB

#2 Příspěvekod vojtamaniak » 05 čer 2013, 19:42

Příště piš IP a ne neco.fakaheda.eu.

Zkus host nastavit na localhost.

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

Re: SurvivalGames na DB

#3 Příspěvekod nejento » 05 čer 2013, 21:38

Takováhle IP je ještě v pořádku :)
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/


Zpět na „Minecraft, Tekkit“

Kdo je online

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