Ulysses Stuff > Ulysses Release Archives
PUDS v0.2.7 - PayPal-ULX Donation System
DoubleN:
Hello. Great system. Is it posible for it to change the rank on forums. I use MyBB.
Prentice:
Sorry if I missed it, however I was wondering how to get use the ulx motd feature to auto-fill in the details?
Thanks for this great addon!
Wully616:
Added the ability to specify the command per rank:
--- Code: ---$prices = array("1","2","3","4"); //prices for each rank, do not include currency symbol
$ranks = array("iron","bronze","silver","gold"); //ulx group names of each rank corresponding to the same array position in $costs
$commands = array("ulx adduserid $steamid $rank","ulx adduserid $steamid $rank","ulx adduserid $steamid $rank","ulx adduserid $steamid $rank"); //commands for each rank, these will support other commands in the future
--- End code ---
This is a quick way to do this right now, I will make a webbased form for creating each donation rank/service which will be a lot easier to use.
For now, in the above example, each position in the arrays corresponds to each other array, eg position 0 in $prices corresponds to position 0 in $commands and $ranks.
In the $commands array it can use variables such as $steamid $rank and $name (which should hopefully be the ingame name specified in the donation form) to build the command for that donation.
I'm not sure if ulx tempadduser supports steamIDs but if it does the the command for that could be:
--- Code: ---ulx tempadduser $steamid $rank 60
--- End code ---
It could be used for pointshop right now in this form I think, I don't know what the pointshop command is for adding points to a player though :P
thetomm2010:
this is awesome I use this for a lot of stuff Is there anyway to make it so people just use there steam login instead of having them put in there steam ID?
sabo:
--- Quote from: Wully616 on August 31, 2013, 03:56:52 PM ---It could be used for pointshop right now in this form I think, I don't know what the pointshop command is for adding points to a player though :P
--- End quote ---
--- Code: --- self:PS_GivePoints( xxx );
--- End code ---
replace xxx with how many points you want to give the player.
I am not fully sure if this is going to work, so you would have to test it wully and then add it to your awesome release :)
Hope I could add something to this ;)
And TempAddUser supports SteamIDs now!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version