Stránka 1 z 1

Hlasování problém?

Napsal: 07 dub 2014, 00:09
od Gribly
IP: 93.91.250.145:27794

Zdravím, udělal jsem si hlasování přes web, na czech-craft.eu podle návodu, ale mám problém, že když hlasuju, přičte se hlas, ale do konzole to napíše: (a tudiž ničím neodmění ani nic nenapíše)

Kód: Vybrat vše

> [00:00:01 INFO]: [GAListener] Vote received on www.Czech-Craft.eu for Player: Griblyn
> [00:00:01 ERROR]: [GAListener] Default service not found, check your config!


Přitom v configu nevidím žádnou chybu. Popř ho zde máte. :)
Spoiler: zobrazit

Kód: Vybrat vše

#  GiveAnything Config
#  http://www.mc-index.com
#
#  Online only (default: true)
#  onlineonly: true
#
#  Only delivers rewards when the player is online.  If they are offline it will wait and deliver when they next join the server!
#
#  Lucky vote (default: false)
#  luckyvote: false
#
#  Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote, for the format see below.
#
#  Permission vote (default: false)
#  permvote: false
#
#  Enables the permission voting section, this allows voters to receive different rewards based upon their permissions, for the format see below.
#
#  Cumulative vote (default: false)
#  cumulative: false
#
#  Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes, for the format see below.
#
#  Show broadcast message for Queued votes (default: true)
#  broadcastqueue: true
#
#  Show broadcast message for offline queued votes (default: false)
#  broadcastoffline: true
#
#  Show broadcast message to recent voters (last 24 hours) (default: true)
#  broadcastrecent: true
#
#  Vote command (/vote) (default: true)
#  votecommand: true
#
#  Enables the /vote command which will show the message contained in the votemessage section at the bottom of this config.
#
#  Reward command (/rewards) (default: true)
#  rewardcommand: true
#
#  Enables the /rewards command which will show a list of all the cumulative voting rewards.
#
#  Join message (default: true)
#  joinmessage: true
#
#  Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
#
#  Message players who haven't voted in the last 24 hours (default: true)
#  voteremind: true
#
#  How often (in seconds) between each reminder message.
#  remindseconds: 300
#
#  Shows the message contained in the remindmessage section at the bottom of this config
#
#  Log received votes to vote.log file (default: false)
#  logfile: false
#
#  Database mode (default: sqlite)
#  dbMode: 'sqlite'
#
#  Use either mysql or sqlite database mode
#
#  Database filename (default: GAL.db) - for SQLite
#  dbFile: 'GAL.db'
#
#  Database IP / Hostname (default: localhost) - for MySQL
#  dbHost: 'localhost'
#
#  Database port (default: 3306) - for MySQL
#  dbPort: 3306
#
#  Database username (default: root) - for MySQL
#  dbUser: 'root'
#
#  Database password (default: none) - for MySQL
#  dbPass: ''
#
#  Database name (default: GAL) - for MySQL
#  dbName: 'GAL'
#
#  Database table prefix - for MySQL / SQLite
#  dbPrefix: ''
#
#  Services section (default is used if service doesn't exist)
#  MC-Index:
#    broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}www.mc-index.com {GOLD}and received {GREEN}5 Diamonds {GOLD}and {GREEN}200 XP!'
#    playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
#    commands:
#    - '/give {username} 264 5'
#    - '/xp give {username} 200'
#
#  The above examples would give a voter 5 diamonds and 200XP whenever they vote on a site with the service name "MC-Index"
#
#  Lucky votes section (disabled by default)
#  luckyvotes:
#    50:
#      broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
#      playermessage: '{GREEN}You were lucky and received an extra $1000!'
#      commands:
#      - '/eco give {username} 1000'
#    100:
#      broadcast: '{GREEN}{username} {GOLD}was {GREEN}super lucky {GOLD}and received an {GREEN}extra $5000!'
#      playermessage: '{GREEN}You were super lucky and received an extra $5000!'
#      commands:
#      - '/eco give {username} 5000'
#
#  The above examples would give a 1 in 50 chance of a voter receiving an extra $1000, and a 1 in 100 chance of $5000
#  If you do not use essentials economy, the command(s) can be modified to suit whichever economy you use.
#
#  Permission votes section (disabled by default)
#  perms:
#    double:
#      broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
#      playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
#      commands:
#      - '/give {username} 264 10'
#
#  This will override the service section if the player has the permission node gal.whatever (gal.double for the example above)
#
#  Cumulative votes section (disabled by default)
#  cumulative:
#    '10':
#      broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
#      playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
#      rewardmessage: '20x Diamond'
#      commands:
#      - '/give {username} 264 20'
#
#
#  Blocked Worlds
#  blocked:
#   - world_blocked
#
#  A list of worlds where voting rewards should not be delivered.
#
#  Vote Message
#  votemessage:
#  - 'add a message here with voting information'
#  - 'players will see this when they type /vote'
#
#  Reminder Message
#  remindmessage:
#  - 'add a reminder message here for players'
#  - 'whose last vote was more than 24 hours ago'
#
#  Available codes for messages / commands:
#
#  {service}    {servicename}   {SERVICE}   = service name
#  {username}   {player}        {name}      = player username

#  & = Colour Symbol to enter manual colours / control codes
#  {AQUA}       {BLACK}         {BLUE}          {DARK_AQUA}     {DARK_BLUE}
#  {DARK_GRAY}  {DARK_GREEN}    {DARK_PURPLE}   {DARK_RED}      {GOLD}
#  {GRAY}       {GREEN}         {LIGHT_PURPLE}  {RED}           {WHITE}
#  {YELLOW}     {BOLD}          {ITALIC}        {UNDERLINE}     {STRIKETHROUGH}
#  {STRIKE}     {STRIKETHROUGH} {MAGIC}         {RESET}
#
settings:
  onlineonly: true
  luckyvote: false
  permvote: false
  cumulative: false
  broadcastqueue: true
  broadcastrecent: true
  broadcastoffline: false
  votecommand: true
  rewardcommand: false
  joinmessage: true
  voteremind: false
  remindseconds: 300
  logfile: false
  dbMode: 'sqlite'
  dbFile: 'GAL.db'
  dbHost: 'localhost'
  dbPort: 3306
  dbUser: 'root'
  dbPass: ''
  dbName: 'GAL'
  dbPrefix: ''

services:
  default:
    broadcast: '{GREEN}{username} {GOLD}hlasoval pro server a ziskal odmenu! Hlasuj i ty na webu {GREEN}FlatGame.cz{GOLD}!' //Toto napíše server, jakmile někdo zahlasuje
    playermessage: '{GREEN}Dekujeme za hlas!'  //To je zpráva, která se napíše hráči, co hlasoval
    commands:                             //Toto jsou commandy, co napíše server, jakmile někdo zahlasuje!
      - '/give {username} 264 2'
      - '/give {username} 384 15'
      - '/give {username} 322:1 1'

luckyvotes:
  '10':
    broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
    playermessage: '{GREEN}You were lucky and received an extra $1000!'
    commands:
    - '/eco give {username} 1000'
  '50':
    broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!'
    playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
    commands:
    - '/xp give {username} 100'
    - '/eco give {username} 1000'

perms:
  double:
    broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
    playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
    commands:
    - '/give {username} 264 10'

cumulative:
  '10':
    broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
    playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
    rewardmessage: '20x Diamond'
    commands:
    - '/give {username} 264 20'

blocked:
- world_blocked

votemessage:
- '{GOLD}-----------------------------------------------------'
- 'Vote for us every day for in game rewards and extras'
- '{GOLD}-----------------------------------------------------'

remindmessage:
- '{GOLD}-----------------------------------------------------'
- 'You have not voted recently, please vote to support the server'
- '{GOLD}-----------------------------------------------------'

joinmessage:
- '{GOLD}-----------------------------------------------------'
- 'Vote for us every day for in game rewards and extras'
- '{GOLD}-----------------------------------------------------'

rewardheader: '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
votetopheader: '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
voteformat: '{AQUA}You currently have {GREEN}{TOTAL} Votes'

Re: Hlasování problém?

Napsal: 07 dub 2014, 06:34
od vojtamaniak
Zeptám se rovnou. Ty komentáře o tom, co jaká zpráva dělá máš v tom configu i na serveru, nebo jsi to okomentoval nám, abychom se v tom vyznali? :)

Re: Hlasování problém?

Napsal: 07 dub 2014, 08:04
od Gribly
Ne :D Překopíroval z návodu a upravil :D

Re: Hlasování problém?

Napsal: 07 dub 2014, 13:45
od vojtamaniak
Tak ty komentáře (všechno co je za // - včetně toho //) odmaž. Dělá to tam bordel.

Re: Hlasování problém?

Napsal: 07 dub 2014, 22:50
od Gribly
Byl to celej problém! :D Díky moc. :D
KARMA+1

//LOCK