Bungee Money?

Discussion in 'Spigot Plugin Development' started by DeadlyDeath001, May 1, 2015.

  1. I would like players to have coins for a minigame on when ever server they are playing on but I don't know how to do this. Like coins connected to all of the bungee servers
    How would I set up MySQL?
    I would like to use FE the plugin but I have no idea how to set it up? May someone kindly please post a tutorial or set this up for me please? I am running 5 Bungee Servers, how do I connect this all? My server is Also port forward so friends and can.
    Plugin: http://www.spigotmc.org/resources/fe.723/
    Code (Text):
    # Fe Config - loyloy.io
    # holdings - The amount of money that players will start out with
    # prefix - The message prefix
    # currency - The single and multiple names for the currency
    # type - The type of database used (sqlite, mysql, or mongo)
    holdings: 10.0
    maxholdings: -1
    prefix: Fe
    topsize: 5
      negative: false
        single: Fe
        multiple: Fe
        enabled: false
        single: Fe
        multiple: Fe
      prefix: ''
    type: sqlite
    autoclean: true
      host: localhost
      port: 3306
      user: root
      password: minecraft
      database: Fe
        accounts: fe_accounts
          username: name
          money: money
          uuid: uuid
      host: localhost
      port: 27017
      user: root
      password: minecraft
      database: Fe
  2. gigosaurus


    This thread should be in http://www.spigotmc.org/forums/spigot-plugin-help.42/
    Google is your friend. Just search for how to set up a MySQL database. In the config change type to "mysql" and there's a mysql section which will be used by the plugin to connect to the database you just created, so set all that up correctly.
  3. Wait so I also have to set it up in bukkit?
    Code (Text):
      username: bukkit
      isolation: SERIALIZABLE
      driver: org.sqlite.JDBC
      password: walrus
      url: jdbc:sqlite:{DIR}{NAME}.db
    Code (Text):
    # This is the main configuration file for Bukkit.
    # As you can see, there's actually not that much to configure without any plugins.
    # For a reference for any variable inside this file, check out the Bukkit Wiki at
    # http://wiki.bukkit.org/Bukkit.yml
    # If you need help on this file, feel free to join us on irc or leave a message
    # on the forums asking for advice.
    # IRC: #spigot @ irc.spi.gt
    #    (If this means nothing to you, just go to http://irc.spi.gt/iris/?nick=&channels=spigot )
    # Forums: http://www.spigotmc.org/forums/help.40/
    # Bug tracker: http://www.spigotmc.org/forums/bugs-feature-requests.8/

      allow-end: false
      warn-on-overload: true
      permissions-file: permissions.yml
      update-folder: update
      ping-packet-limit: 100
      use-exact-login-location: false
      plugin-profiling: false
      connection-throttle: -1
      query-plugins: true
      deprecated-verbose: default
      shutdown-message: Server closed
      monsters: 70
      animals: 15
      water-animals: 5
      ambient: 15
      period-in-ticks: 600
      load-threshold: 0
      animal-spawns: 400
      monster-spawns: 1
      autosave: 6000
      enabled: true
      - warn-console
      - warn-ops
      - warn-console
      - warn-ops
      preferred-channel: rb
      host: dl.bukkit.org
      suggest-channels: true
    aliases: now-in-commands.yml
      username: bukkit
      isolation: SERIALIZABLE
      driver: org.sqlite.JDBC
      password: walrus
      url: jdbc:sqlite:{DIR}{NAME}.db
  4. gigosaurus


    Only if the plugin uses the database set in the Bukkit.yml. Judging by the fact it has entries for it in its own plugin, it probably doesn't look at the Bukkit.yml.