EnjinShopBridge
This project is now inactive and I will not be updating it or replying to comments on this project anymore. Please use the official Enjin plugin instead.
Introduction
Do you own an Enjin website with the ultimate plan? Do you have a shop? And do you want to have that shop automatically give ranks? Look no further! EnjinShopBridge, a plugin developed privately and existing since December of 2011, is finally available to the public for free! EnjinShopBridge is easy to use and supports multiple commands!
To people who got this plugin before the release here: Message me when the Mod API comes out and this will be converted within 24 hours, guaranteed.
This plugin only works with an Ultimate plan! Make sure you have enough money to host website and servers!
Features
- Automatically perform commands
- Supports multiple commands
- Easy to use
- Highly customizable
- Can broadcast
- Supports "aliases"
Quick-Start Guide
Before we begin:
If you are using this on a production server and have never used ESB before, clear your donation list.
Make sure the Enjin API is public in Admin > Settings > Enjin API
Make sure your shops operate with a "custom field" where people can enter their username.
Be sure to test it out before putting it on a production server!
Start your server up and then shut it down. That will generate the necessary files.
Now, go to the ESB Folder and open the Config. It should contain some things you can
customize. Change it to your liking. There should also be a "Commands" folder. That
is where you can issue a command whenever a user donates. Let's say you have a rank
called "VIP". You will make a text file(.txt) inside the Commands folder named "VIP".
If you look at the file's properties, it should be titled "VIP.txt". Open it. Now, type
in commands as if they were entered in a console. Let's say you make it look like this:
pex user <%player%> group set VIP money <%player%> grant 100 broadcast <%player%> donated for &!
<%player%> is the name of the player, and <&item&> is the name of the object as listed on the website.
This plugin checks the Enjin API every x seconds(x is configurable). If the player
hasn't donated before, it executes a set of commands as defined in your file. I
recommend setting the check to every 10 minutes(600 seconds), but that is only my opinion.
That's all! If you have questions or suggestions, leave me a comment below!
Download and Progress
Alternatively, see all versions here!
Support me!
If you like this plugin, feel free to leave me a donation! It'll help me run test servers and the like.
-
View User Profile
-
Send Message
Posted Jul 26, 2012Ive been using this plugin for months without a problem. But one feature id really like to see added is a command to execute the donation package.
For example, say I have a txt file in the commands folder for a package called VIP.
in the VIP.txt theres like 10 different perms it adds, a donation goes wrong etc etc, or I just simply want to reward someone with VIP from a contest. I now have to manually add all those perms myself through ingame commands or through the permissions.yml.
Id like to be able to do something like /enjin give VIP
It then checks the commands folder and finds VIP.txt and executes all the commands in that file.
Like an override, manual execution. Thank you :)
-
View User Profile
-
Send Message
Posted Jul 25, 2012I get the same error.. I bought it with the username studhawk44 and it says studhawk44] with the bracket purchased it so it could not put the user in the group or send them the messege that we wanted. If you could pm me on here and add me on skype, that would be perfect
-
View User Profile
-
Send Message
Posted Jul 25, 2012Is there a command for giving faction power in the individual command folder
-
View User Profile
-
Send Message
Posted Jul 24, 2012@roggbart
I'll fix it tonight.
-
View User Profile
-
Send Message
Posted Jul 24, 2012when this plugin is promoting users, it adds a [ infront of their user in PEX like this:
[roggbart
So for me, this is useless
Anyone else have similar issues? EnjinToBukkit works fine for me though
-
View User Profile
-
Send Message
Posted Jul 21, 2012@Hol7y96
PM me here, and I'll help you through Skype.
-
View User Profile
-
Send Message
Posted Jul 21, 2012@Hol7y96
I think I know what is is. It isnt recognising my enjin name entered into the custom field. When it announces purchase it says player instead of my username.
-
View User Profile
-
Send Message
Posted Jul 21, 2012@Technius
I just wanted info on how to layout the commands folder. Because when I made the text file for the commands for my rank, 'Test' I set it out like this.
give <%player%> 1 64 op <%player%>
The file is called 'Test' and same with the rank on the site. What else do I need to do for it to work.
-
View User Profile
-
Send Message
Posted Jul 20, 2012@Hol7y96
What does your config and commands folder look like?
-
View User Profile
-
Send Message
Posted Jul 20, 2012@Techtony96
That doesn't make a difference. How are the users going to be able to purchase the ranks on your site without a shopping module to do so?
-
View User Profile
-
Send Message
Posted Jul 20, 2012@Hol7y96
but i have the enjin API
-
View User Profile
-
Send Message
Posted Jul 20, 2012@Techtony96
No, you need the shopping module which only comes with the ultimate plan.
-
View User Profile
-
Send Message
Posted Jul 20, 2012I did as it said and nothing happened on purchase.
@Technius
-
View User Profile
-
Send Message
Posted Jul 20, 2012Can i use this with the Advanced plan?
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Hol7y96
Read the quick-start guide!
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Technius
No, what I mean is how can I get the commands to be run on a purchase.
-
View User Profile
-
Send Message
Posted Jul 18, 2012@Hol7y96
You can add it to the module. For each item, there should be a thing called "add tags". Add whatever tag(rank) you want to them. You can create tags by going to users.
-
View User Profile
-
Send Message
Posted Jul 18, 2012Hey, sorry for the late response. Here are my files:
config: http://pastebin.com/Tj6KnNKW
What I want to know is how I would get the rank on the website 'test' to run commands when purchased and not rank people
-
View User Profile
-
Send Message
Posted Jul 18, 2012@domingo15
PM me.
-
View User Profile
-
Send Message
Posted Jul 18, 2012@Technius
Is it possible to write multiple shopping module id?