Basic Donator Interface
Note: This plugin has moved
The new thread can be found here: http://forums.alliedmods.net/showthread.php?t=145542 Information here left for thread legacy Natives: Forwards: Usage For example, if you wanted to make donators immune to the auto team balance in gScramble you can add an IsClientDonator(client) check into the IsValidTarget(...) check to skip a player who is a donator. |
Re: Basic Donator Interface
|
Re: Basic Donator Interface
question...
the db that u wrote about setting up named donators, thats to fetch from db all donators so it knows who's a donator in server right? What if a client on connect is given custom flag o (our donator flag) , would this plugin then see him as a donator? How to change all instances of your flag to my flag o? cause I can't figure out what flag you're using. |
Re: Basic Donator Interface
This reads a database to get who is a donator, it does not currently have anyway of using flags to set donators.
|
Re: Basic Donator Interface
Ah I would use it.. but I realy don't want to create new database and all that... too much.
I rather have plugin check if the user has flag o . Cause we have another plugin that automatically assigns players' flags depending on what usergroup they are in on our vbulletin site. It basically automatically gives them admin rights depending on their usergroup on our site :) So yeah... would use it gladly but unfortunetly wont I guess since it doesnt work on checking if person has flag o |
Re: Basic Donator Interface
That is an interesting setup, but just checking "o" is far too simple for what I'm looking to accomplish with this.
|
Re: Basic Donator Interface
Is it possible to set this up with the following?
Premium / VIP - VIP Skin - Immunity to Team Swap - Immunity to vote kick/ban/mute - Immunity to high ping kicker - Free defusal when CT each round - Free HE, FLASH, SMOKE - Flash disabled for non VIP - Set $200 at round start Can you help me set this up? Im not sure about this plugin or how it works. Is the above possible? |
Re: Basic Donator Interface
Short answer: No.
Long answer: Yes, but that is not within the scope of this plugin since it is a core. You would need to make (or have someone make) a separate plugin which hooks into this one using the forwards and natives. |
Re: Basic Donator Interface
Ahh ok thanks for your reply anyway. Would it be hard to make these separate plug-ins to do this? I wouldn't know where to start.
|
Re: Basic Donator Interface
I don't code for any other game than TF2, but I don't think it would be hard for someone to make that and hook it into this one.
|
Re: Basic Donator Interface
Ah I wish your other plugin with the donator thing on top of head would work simply on checking if the user has custom flag o.
Could you possibly edit that plugin and make it just work by itself without this plugin necessary please? :) |
Re: Basic Donator Interface
(subscribed)
toazron1 -- Kudos on providing this asset!! Quote:
I'd like to suggest, if possible, that you put up some screenshots demonstrating the extent of this so far. Just might help the more visually stimulated people, but its not absolutely needed. I look forward to other authors being able to utilize your core here. Thanks alot! |
Re: Basic Donator Interface
It is possible but it would need to be stripped down a little. If I can find some time tomorrow I will PM you.
|
Re: Basic Donator Interface
Quote:
|
Re: Basic Donator Interface
Any possible way that you can make a cvar to impliment flags instead of having to create a sql database? All my donators get privs from reading a flag. This would be much appreciated....thanks for your efforts.
|
Re: Basic Donator Interface
nice work.
my suggestion/question regarding flags vs mysql. have natives allowing plugins to set who's a donator. this way you could make one plugin using a rather complex mysql setup and another which is just looking at the custom flags. and another one allowing admins to set clients temporarily by menu. or whatever someone wants. uhm, peel another layer of that core. btw, what exactly is the donator level? |
Re: Basic Donator Interface
1 Attachment(s)
A simple plugin interfacing with tLevelmod, tAttributes and this (awesome) Donator Interface to give Donators 2 Attribute Points for leveling up. (The normal attributes.bridge.levelmod is still needed.)
|
Re: Basic Donator Interface
Good idea but this plug in is far too complicated for the average server admin to use (like me).
If you want it to be more wide spread, you need to start thinking more like a server admin and less like a coder. ;P |
Re: Basic Donator Interface
Quote:
This plugin is MEANT for other plugin authors to use to write plugins such as that one. |
Re: Basic Donator Interface
Is it possible to connect this to SourceBans?
|
Re: Basic Donator Interface
I agree that this is a cool plugin, although it would be nice if someone did something for CSS. It seems that its all for TF2 :cry:.
|
Re: Basic Donator Interface
Quote:
The only mod specific thing in the donator_recognition plugin are the events it hooks. However, I have modifed it to detect which mod it is running in and hook the appropriate events, so it should work just fine in CSS and DODS. It can be found in this thread: http://forums.alliedmods.net/showthread.php?t=122320 The donator.colorchat.tf2 plugin also doesn't have any mod-specific code in it, so it should work just fine in CSS or any other mod. |
Re: Basic Donator Interface
Is it possible to attach the compiled version? The web compiler won't do it.
|
Re: Basic Donator Interface
I would like a compiled version. :(
|
Re: Basic Donator Interface
The first post is missing the plugin header, possibly from being saved twice after using quick-edit.
Please repost in a new thread so that it can be approved. |
Re: Basic Donator Interface
Plugin failed to compile!
|
Re: Basic Donator Interface
Quote:
|
Re: Basic Donator Interface
Quote:
|
Re: Basic Donator Interface
I cant not get this working to save my life! I have no idea what is being explained with the MySQL stuff, I know what mysql is, but no idea what to do to set this up.
|
Re: Basic Donator Interface
Thanks for the plugin, here are some comments:
sm_reloaddonators should update the local g_bIsDonator array after completion. Right now you only do this when a player connects so changes to the DB aren't reflected immediately after sm_reloaddonators is triggered. Would be helpful to have a DonatorsReloaded forward. Plugins which use your interface right now can only rely on OnDonatorConnected. That means changes reloaded by sm_reloaddonators aren't reflected immediately too unless the plugin iterates all players each time when a donator status has to be queried. |
Re: Basic Donator Interface
i try compile localy failed
same when i try the web compiler -->cannot read from file donator maybe me im noob lol wa |
Re: Basic Donator Interface
You should maybe put the donator.inc file inside the include folder in scripting..
Thats why it wont work online, because you cant put that file there.. But localy you can |
Re: Basic Donator Interface
Code:
CREATE TABLE IF NOT EXISTS `donators` (There should not be a comma after the '1' it will error out if there is one. |
Re: Basic Donator Interface
Add something like donator duration, so it removes the player donator status automatically
|
Re: Basic Donator Interface
Wish I could download this, but as it's been said before, I can't seem to get the bloody thing to compile.
And it seems that nobody here knows how to compile this thing, because if anyone did, they'dve responded to the 2 or 3 other people before me who can't figure out how to compile this. |
Re: Basic Donator Interface
Quote:
|
Re: Basic Donator Interface
Quote:
|
Re: Basic Donator Interface
This has been update and reposted (since this one broke)
http://forums.alliedmods.net/showthread.php?t=145542 |
| All times are GMT -4. The time now is 18:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.