Xenforo Configuration For Noobs
EddieFriday opened this issue · 8 comments
Hi,
I totally love your plugin but the problem is I dont know how to configure it well for me to use properly. I need to use this to a xenforo board and if it is not too much to ask for a help I would like to seek your attention to my request.
Please provide me details and spoon feed information on how to configure Community Bridge properly to work with Xenforo.
I hope that you will grant this request of mine. I'm not really a coder this is why I ask for a help from you.
There will be some difficulties. There isn't a step-by-step formula for a given forum software as each game's situation is slightly different even if they're using the same forum software. Also, Xenforo is payware that I don't own a copy of (or can afford), so I can only infer the information required, not confirm it myself.
However, we'll try to get there anyway. First steps:
- Add your Minecraft server's internet address to your MySQL database's list of allowed clients. This is almost always required because most hosting companies restrict access to the MySQL databases to the web server's address. How this is done depends on your hosting company--contact them for help.
- Find out your MySQL server's hostname, username, and password. You probably had this information to install Xenforo or you can obtain it from your hosting company/account information.
- Start your server with the CommunityBridge jar in the plugins directory so that it generates a blank config.yml for you.
- Fill in the hostname/username/password in the database section. Be sure to leave the indentation in place. And leaving binding address blank as well. Most installations will not need that option.
database:
hostname: localhost
port: 3306
name: databasename
username: username
password: password
- Do a cbreload after step 4 and see if you get any errors. CommunityBridge will test its connection to the MySQL server and report if it has any difficulty.
here is the log that was generated. I followed you instructions;
[08:39:47] [Server thread/INFO]: Starting minecraft server version 1.7.9
[08:39:47] [Server thread/INFO]: Loading properties
[08:39:47] [Server thread/INFO]: Default game type: SURVIVAL
[08:39:47] [Server thread/INFO]: Generating keypair
[08:39:48] [Server thread/INFO]: Starting Minecraft server on *:19132
[08:39:48] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT)
[08:39:49] [Server thread/INFO]: [WorldBorder] Loading WorldBorder v1.8.0
[08:39:49] [Server thread/INFO]: [MultiWorld] Loading MultiWorld v5.2.0
[08:39:49] [Server thread/INFO]: [GroupManager] Loading GroupManager v2.0 (2.12.1) (Phoenix)
[08:39:49] [Server thread/INFO]: [WorldEdit] Loading WorldEdit v5.6.2
[08:39:49] [Server thread/INFO]: [Vault] Loading Vault v1.4.1-b436
[08:39:49] [Server thread/INFO]: [PerWorldMOTD] Loading PerWorldMOTD v1.0
[08:39:49] [Server thread/INFO]: [PlotMe] Loading PlotMe v0.13f
[08:39:49] [Server thread/INFO]: [Paintball] Loading Paintball v1.7
[08:39:49] [Server thread/INFO]: [CommunityBridge] Loading CommunityBridge v2.5.0.505
[08:39:49] [Server thread/INFO]: [Essentials] Loading Essentials v2.13.1
[08:39:49] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.13-SNAPSHOT (build 1130)
[08:39:49] [Server thread/INFO]: [EssentialsProtect] Loading EssentialsProtect v2.13.1
[08:39:49] [Server thread/INFO]: [EssentialsSpawn] Loading EssentialsSpawn v2.13.1
[08:39:49] [Server thread/INFO]: [OnTime] Loading OnTime v3.13.3
[08:39:49] [Server thread/INFO]: [EssentialsGeoIP] Loading EssentialsGeoIP v2.13.1
[08:39:49] [Server thread/INFO]: [EssentialsChat] Loading EssentialsChat v2.13.1
[08:39:49] [Server thread/INFO]: [Builder] Loading Builder v0.9.1
[08:39:49] [Server thread/INFO]: [EssentialsAntiBuild] Loading EssentialsAntiBuild v2.13.1
[08:39:49] [Server thread/INFO]: [Vault] Enabling Vault v1.4.1-b436
[08:39:49] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting
[08:39:49] [Server thread/INFO]: [Vault] [Permission] GroupManager found: Waiting
[08:39:49] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[08:39:49] [Server thread/INFO]: [Vault] [Chat] GroupManager found: Waiting
[08:39:49] [Server thread/INFO]: [Vault] Enabled Version 1.4.1-b436
[08:39:49] [Server thread/INFO]: [PlotMe] Enabling PlotMe v0.13f
[08:39:49] [Server thread/INFO]: PlotMe 0 plots loaded
[08:39:49] [Server thread/INFO]: PlotMe 0 plots loaded
[08:39:49] [Server thread/INFO]: Preparing level "ormoccity"
[08:39:49] [Server thread/INFO]: Preparing start region for level 0 (Seed: 7591641541370530286)
[08:39:50] [Server thread/INFO]: Preparing spawn area: 46%
[08:39:51] [Server thread/INFO]: Preparing start region for level 1 (Seed: 1551299024263202969)
[08:39:52] [Server thread/INFO]: [WorldBorder] Enabling WorldBorder v1.8.0
[08:39:52] [Server thread/INFO]: [WorldBorder] [CONFIG] Using elliptic/round border, knockback of 3.0 blocks, and timer delay of 5.
[08:39:52] [Server thread/INFO]: [WorldBorder] [CONFIG] Border-checking timed task started.
[08:39:52] [Server thread/INFO]: [WorldBorder] For reference, the main world's spawn location is at X: 0.0 Y: 65.0 Z: -4.0
[08:39:52] [Server thread/INFO]: [MultiWorld] Enabling MultiWorld v5.2.0
[08:39:52] [Server thread/INFO]: Preparing start region for level 2 (Seed: 6580459230841557232)
[08:39:53] [Server thread/INFO]: Preparing spawn area for OrmocMain, 57%
[08:39:54] [Server thread/INFO]: [MultiWorld] v5.2.0 enabled.
[08:39:54] [Server thread/INFO]: [GroupManager] Enabling GroupManager v2.0 (2.12.1) (Phoenix)
[08:39:54] [Server thread/INFO]: GroupManager - INFO - World Found: ormoccity
[08:39:54] [Server thread/INFO]: GroupManager - INFO - World Found: ormocmain
[08:39:54] [Server thread/INFO]: GroupManager - INFO - Superperms support enabled.
[08:39:54] [Server thread/INFO]: GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
[08:39:54] [Server thread/INFO]: GroupManager - INFO - Backups will be retained for 24 hours!
[08:39:54] [Server thread/INFO]: GroupManager version 2.0 (2.12.1) (Phoenix) is enabled!
[08:39:54] [Server thread/INFO]: [Vault][Permission] GroupManager hooked.
[08:39:54] [Server thread/INFO]: [Vault][Chat] GroupManager - Chat hooked.
[08:39:54] [Server thread/INFO]: [WorldEdit] Enabling WorldEdit v5.6.2
[08:39:54] [Server thread/INFO]: WEPIF: GroupManager detected! Using GroupManager for permissions.
[08:39:54] [Server thread/INFO]: [PerWorldMOTD] Enabling PerWorldMOTD v1.0
[08:39:54] [Server thread/INFO]: [Paintball] Enabling Paintball v1.7
[08:39:54] [Server thread/INFO]: [CommunityBridge] Enabling CommunityBridge v2.5.0.505
[08:39:54] [Server thread/ERROR]: [CommunityBridge] Error while checking 'player-user-linking.user-id-column' set to '': Empty column name.
[08:39:54] [Server thread/ERROR]: [CommunityBridge] Error while checking 'player-user-linking.identifier-column' set to '': Empty column name.
[08:39:54] [Server thread/INFO]: [CommunityBridge] CommunityBridge is now active.
[08:39:54] [Server thread/INFO]: [Essentials] Enabling Essentials v2.13.1
[08:39:55] [Server thread/INFO]: [Vault][Economy] Essentials Economy hooked.
[08:39:55] [Server thread/INFO]: Essentials: Using GroupManager based permissions.
[08:39:55] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1130)
[08:39:55] [Server thread/INFO]: [EssentialsProtect] Enabling EssentialsProtect v2.13.1
[08:39:55] [Server thread/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn v2.13.1
[08:39:55] [Server thread/INFO]: [OnTime] Enabling OnTime v3.13.3
[08:39:55] [Server thread/INFO]: [EssentialsGeoIP] Enabling EssentialsGeoIP v2.13.1
[08:39:55] [Server thread/INFO]: [EssentialsGeoIP] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
[08:39:55] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat v2.13.1
[08:39:55] [Server thread/INFO]: [Builder] Enabling Builder v0.9.1
[08:39:55] [Server thread/INFO]: [Builder] Builder could not register with Denizen
[08:39:55] [Server thread/INFO]: [EssentialsAntiBuild] Enabling EssentialsAntiBuild v2.13.1
[08:39:55] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[08:39:55] [Server thread/INFO]: Done (6.232s)! For help, type "help" or "?"
[08:39:55] [pool-3-thread-2/INFO]: Checking if conversion to UUID needed...
[08:39:55] [pool-3-thread-2/INFO]: Verifying if database needs conversion
[08:39:55] [pool-3-thread-2/INFO]: No plot conversion needed
[08:39:55] [Server thread/INFO]: [Citizens] Loaded 0 NPCs.
[08:39:56] [Server thread/INFO]: GroupManager - INFO - Bukkit Permissions Updated!
[08:40:07] [pool-3-thread-2/INFO]: [Vault] Checking for Updates:
[08:40:07] [pool-3-thread-2/INFO]: [Vault] No new version available
It is difficult juggling job, family, friends, hobbies. Oof.
Next thing to do is consult your Xenforo manual/guide on how to add a
custom profile field.
At a minimum you will need one custom profile field that the player or you
can fill in with the player's Minecraft UUID.
Be sure to make note of what you name the uuid profile field. You'll need
that name to configure the player-linking section of the config.yml. It
should be like what I have below, except that the ********* should be
replaced with the name of your uuid custom profile field.
# Use this to specify which method you are using: uuid, name, or both.
# uuid - Players are identified by uuid in your web application's database.
# name - Players are identified by player name in your web
application's database.
# both - Communitybridge will try both ways before giving up.
linking-method: uuid
# The name of the table which contains the columns:
table-name: xf_user_field_value
# Column on the table that contains the user ID. Typically something like
# user_id or member_id
user-id-column: user_id
# If the player name is stored in a key-value pair of columns instead of
# its own column, set this to true:
uses-key: true
# If you set 'linking-uses-key' to false, then set this to the column that
# the playername is stored in. Otherwise, leave it empty.
playername-column:
# If you set 'linking-uses-key' to true, then set the key column, value
# column, and the key-name here. Otherwise, leave these fields empty.
key-name: ****************
key-column: field_id
value-column: field_value
On Fri, Jun 27, 2014 at 5:09 PM, EddieFriday [email protected]
wrote:
Hello?
—
Reply to this email directly or view it on GitHub
#193 (comment)
.
This is what I came up so far:
# The name of the table which contains the columns:
table-name: minecraft_users
# Column on the table that contains the user ID. Typically, the column will be
# named something like user_id or member_id and contains a unique number for each
# user.
user-id-column: id
# If the player name is stored in a key-value pair of columns instead of
# its own column, set this to true:
uses-key: false
# If you set 'linking-uses-key' to false, then set this to the column that
# the minecraft uuid or playername is stored in. Otherwise, leave it empty.
identifier-column: username
# If you set 'linking-uses-key' to true, then set the key column, value
# column, and the key-name here. Otherwise, leave these fields empty.
key-name: uuid
key-column: field_id
value-column: field_value
What should I do next?
and here is the log:
Please help me in configuring xenforo.. Im not a coder and I hope you can spoon feed me here..