Giter Club home page Giter Club logo

veterans's Introduction

Veterans Only

"Veterans Only" (or simply "veterans") is a Plugin for SourceMod and written with SourcePawn to restrict access of players based on their playtime in a specific game

Where to download

To download the latest version of this program, take a look at the releases page.

PHP Hosting

It is possible to host the PHP part of the project on your website. To do so, proceed the following steps:

  1. Locate a public folder on a website capable of hosting PHP files and with "php_curl" extension enabled.
  2. Upload the "queryPlaytime.php" file from the "web" directory to that folder.
  3. (Optional, but highly recommended) Create a folder named "WebCache" and give PHP write access to it. (chmod 755 or 777 for Linux)
  4. Edit the plugin configuration file and change the "sm_veterans_url" cvar to the address of the newly uploaded PHP file.

Donation

Donations assist development and are greatly appreciated; also always remember that every coffee counts! :)

--OR--

You can always donate your time by contributing to the project or by introducing it to others.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

veterans's People

Contributors

falahati avatar yxnan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

veterans's Issues

immunitet under the flag

Is it possible to add an immunity to the flag?
For a player who does not meet the requirements he can connect to the server

.

.

suggestion for database

I was testing the plugin for l4d2 and I have a problem. The cache is stored locally on the servers, but I don't have only one, is it possible that I can add database support to it? The idea is that the user enters any connected server and the cache is saved and can be consulted among the others.

Development #1

  • Would you add var so that it doesn't kick admins?
  • For every player connected the server; can you add a chat message? The message will write the game hours information.
  • https://haste.kgns.dev/yudujufito.cpp I use this plugin. The player who hides the game hours cannot login the server. For this, friends list and game details options should be set publicly. Previously, in your plugin, they could enter when the game hours was hidden.
  • Since my domain is managed in cloudflare, the php file doesn't always work stably. https://haste.kgns.dev/ufohahipuw.cpp This is another plugin but it doesn't work. It may be more stable to use "api.steampowered.com" links instead of php file.

Prime setting

the following code:
SteamWorks_HasLicenseForApp(client, 624820) == k_EUserHasLicenseResultHasLicense
It does not detect the prime after the 21 level. So those who are free prime.

1.4 doesn't work

So I've tested the latest release and it won't block players from joining. I tried all filters (including no f2p, min. 48h playtime, private profile etc.) and I could join with a brand new account. Game is TF2.
Tried switching between the sm_veterans_url between the two and had the same results.

I replaced it with 1.2 and I thought it worked, until admins and people with thousands of hours told me they can't join the server. I'll be disabling it for now

Privilege players kicking

i include steamid and everything to be able for them to join if they dont have ex 50 hours of playtime i add a reserved slot for them or full admins still cant join any solution?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.