Table of Contents. Pointshop Betting. Installation



Similar documents
Installing buzztouch Self Hosted

DEAR Inventory - Magento Integration Guide

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

Relax Bingo game rules

PORTAL ADMINISTRATION

Magento OpenERP Integration Documentation

Deploying Intellicus Portal on IBM WebSphere

Secure Messaging Server Console... 2

G-Lock EasyMail7. Admin Guide. Client-Server Marketing Solution for Windows. Copyright G-Lock Software. All Rights Reserved.

Technical Support Set-up Procedure

DPD shipping module documentation. Magento module version 2.0.3

Hosted Connecting Steps Client Installation Instructions

Enterprise Historian 3BUF D1 Version 3.2/1 Hot Fix 1 for Patch 4 Release Notes

A This panel lists all the IVR queues you have built so far. This is where you start the creation of a IVR

Item Audit Log 2.0 User Guide

LinkedIn for MS Dynamics 2013, 2015, or 2016 Installation Guide

2. Installation Instructions - Windows (Download)

Sharing Files with HomeGroup

Prestashop Ship2MyId Module. Configuration Process

Drop Shipping. Contents. Overview 2. Quick Tips 3. Basic Setup 4. Drop Ship Options 5. File Pickup Options 6. Messages 8

If you are you are using Microsoft outlook 2007, then new toolbar will be added below the Outlook menu bar,

Note: To increase your bet by another amount, select another chip from the bottom right of the game panel.

LT Auditor Windows Assessment SP1 Installation & Configuration Guide

HELIX MEDIA LIBRARY API DEVELOPER S GUIDE

Multivendor Extension User Guide

Web VTS Installation Guide. Copyright SiiTech Inc. All rights reserved.

Installing Drupal on Your Local Computer

Grandstream Networks, Inc. GXV3175 IP Multimedia Phone GUI Customization Guide

educ Office Remove & create new Outlook profile

Timesheet Installation Guide

HELP DESK MANUAL INSTALLATION GUIDE

Table of Contents. Overview Supported Platforms Note Demos/Downloads Known Issues Use Case... 4

A-AUTO 50 for Windows Setup Guide

Healthstone Monitoring System

I don t intend to cover Python installation, please visit the Python web site for details.

SharePoint Password Change & Expiration 3.0 User Guide

Virtual Office Remote Installation Guide

T-Square Training Workshop for TAs

How To Use Kentico+ On A Pc Or Mac Or Macbook

SharePoint Wiki Redirect Installation Instruction

SirixWeb 3.0. User guide

WEB2CS INSTALLATION GUIDE

TIBCO Spotfire Automation Services 6.5. User s Manual

How To Set Up Dataprotect

WorldExtend IronDoor 3.5 Publishing a Terminal Services Application

KENO TRAINING MANUAL

RDM+ Remote Desktop for Android. Getting Started Guide

VP-ASP Shopping Cart QUICK START GUIDE Version th Feb 2010 Rocksalt International Pty Ltd

Installation, Configuration, and Usage

Kentico CMS 7.0 E-commerce Guide

MV-8800 Production Studio

ZeroTurnaround License Server User Manual 1.4.0

EasyPush Push Notifications Extension for ios

See the Developer s Getting Started Guide for an introduction to My Docs Online Secure File Delivery and how to use it programmatically.

3. From the Merchant Administration drop down select VCS Interfacing (page1)

Installing and Configuring Microsoft Dynamics Outlook Plugin to Use with ipipeline MS CRM

Bulk Downloader. Call Recording: Bulk Downloader

iview (v2.0) Administrator Guide Version 1.0

Define and Configure an Application Request Routing Server Farm

SSL Enforcer Documentation

WHAT'S NEW WITH SALESFORCE FOR OUTLOOK

Cascaded Lookup 5.0 User Guide

Understanding Task Scheduler FIGURE Task Scheduler. The error reporting screen.

Bubble Code Review for Magento

Installing the Microsoft Network Driver Interface

Ingenious Testcraft Technical Documentation Installation Guide

TABLE OF CONTENTS. ipay / Magento Implementation Guide 2 Copyright 2012 Planet Payment, Inc. All Rights Reserved.

FocusOPEN Deployment & Configuration Guide

Bitrix Site Manager ASP.NET. Installation Guide

Audacity is a free, totally free, audio editing program. Get it here:

WebsiteAlive Operator Panel. A WebsiteAlive How-To Guide

Fruit Machine. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Customizing the SSOSessionTimeout.jsp page for Kofax Front Office Server 3.5.2

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

1: 2: : 3.1: 3.2: 4: 5: & CAPTCHA

Virto Pivot View for Microsoft SharePoint Release User and Installation Guide

TECHNICAL REFERENCE. Version 1.0 August 2013

Installation of IR under Windows Server 2008

MyanPay API Integration with Magento CMS

Connecticut Hazardous Waste Manifests Database

The In-Stream LogoKit is an In-Stream linear and non-linear ad format that plays in VPAID-compliant video players. The ad displays icons in the

New and Improved DocuSign Signing Experience Information Guide

Integrated Cloud Environment Google Drive User s Guide

BT MEDIA JOOMLA COMPONENT

Online International Business Certificate Programs

Important Notice. All company and brand products and service names are trademarks or registered trademarks of their respective holders.

User Manual Web DataLink for Sage Line 50. Version 1.0.1

TARGETPROCESS INSTALLATION GUIDE

VidyoDesktop Quick User Guide

Microsoft SharePoint 2010 End User Quick Reference Card

WebCT 3.7 Campus Edition System Administrator s Guide. Technical Communications

Using Form Scripts in WEBPLUS

Insert Survey Data into a Database: Dreamweaver & Access 2007

Signup instructions for the End User

WebFOCUS BI Portal: S.I.M.P.L.E. as can be

Transcription:

User Guide

Table of Contents Pointshop Betting... 1 Installation... 1 Configuration... 2 Customizing Theme... 2 Customizing Betting and UI Settings... 2 Customizing Chat Notice Settings... 3 Sound Settings... 3 Logging... 4 Developer API... 4 Pointshop Betting Pointshop Betting brings a fun new dimension to your gamemode and pointshop. It supports the most popular gamemodes out of the box and has tons of configurable options to suit betting to your server and also has options to stop point farming and keep betting fun! There are three betting modes to suit your gamemode or server. Bet on teams, bet on yourself or bet on other players. You can also have betting at the round start, or after your dead. This guide describes how to install, configure and customize every setting of the Pointshop Betting addon including detailed descriptions on each and every setting and Developer documentation for creating custom gamemode support. Installation To install Pointshop Betting all you need to do is unzip the download (click Download on the Pointshop Betting System page after purchasing to get the zip file). Then, if you use FastDL or a Workshop pack for your server add the resource folder to your FastDL/pack. (Resources are added automatically for FastDL servers)

Configuration To make Pointshop Betting even easier to configure, all the addons settings can be managed in one file; sh_bettingconfig.lua In here you can manage the theme, core settings, Betting Mode and UI, chat notices and sounds. Customizing Theme The first section of the config file allows you to customize a few theme colors. Other colors are taken from the team color. Theme Setting BETTING.Theme.ControlColor BETTING.Theme.NoticePrefixColor BETTING.Theme.NoticeTextColor Betting panel and winner panel background color Betting chat prefix color Betting chat text color Customizing Betting and UI Settings The second section of the config file allows you to control the betting mode and UI. Set OnlyAllowBetsSelf and AllowBetsOnOthers to false to enable the first betting mode, where players bet on a team to win. Set OnlyAllowBettingAtRoundStartTime to false to enable betting when dead/spectating instead of betting at the start of each round. Betting Setting BETTING.Settings.BetMultiplier Multiplier for pointshop bets (e.g. 100x2 = 200 if bet wins) BETTING.Settings.MinimumBet Minimum points allowed to bet (must be at least 1) BETTING.Settings.MaximumBet Maximum points allowed. Set to 0 to have no limits on bets. BETTING.Settings.MinimumPlayersForBetting Minimum number of players needed on the server to allow bets BETTING.Settings.MinimumAlivePlayersForBetting Minimum number of players needed to still be alive to allow betting. BETTING.Settings.OnlyAllowBettingAtRoundStartTime Betting is only allowed for the first x seconds of the round. Set this to zero to enable betting when dead/spectating. BETTING.Settings.OnlyAllowBetsSelf Set to true to enable the second betting mode. (Players bet on themselves and must win and stay alive) BETTING.Settings.AllowBetsOnOthers Set to true to enable the third betting mode. (Players can bet on any player who must then

win and stay alive) BETTING.Settings.HideBetScreenWhilstAlive BETTING.Settings.HideBetScreenWhilstDead BETTING.Settings.ShowBetResultsTime BETTING.Settings.FKeyShowCursor BETTING.Settings.ShowFKeyShowCursorMessage BETTING.Settings.DisableCursorAfterBetPlaced BETTING.Settings.ShowHighestWinnerOrLoser BETTING.Settings.ShowHighestWinnerOrLoserTim BETTING.Settings.ShowOnRight BETTING.Settings.HideWhenChatBoxOpen Hide the bet panel when the player is still alive. (OnlyAllowBettingAtRoundStartTime must be enabled to use this option.) Hide the bet panel when the player is dead/spectating and has an active bet. (It will show again to display the results and the end of the round.) How long to show the bet results (in seconds) Set to F1,F1,F3,F4 or "" to disable (Useful for gamemodes with no cursor key) Show message on bet panel notifying players of the FKey Hide cursor after bet is placed Show announcement about highest winner/loser of the round How long to show the highest winner/loser annoucnement (in seconds) When set to true the betting UI will show on the right hand side of the screen. (Set to false to show on the left) Hide the betting panel when the chatbox is open. Customizing Chat Notice Settings The third section of the config file allows you to control the chat notice settings. Notice Setting BETTING.Settings.NoticePrefix BETTING.Settings.ShowNotificationsAboutOtherBets BETTING.Settings.ShowNotificationsAboutNoBets Prefix shown before chat notices Show a notice when somebody places a bet? Show a notice when nobody places a bet? Sound Settings The fourth section of the config file allows you to control sounds & result music. You can specify a URL to play a sound from the web; clients will stream these sounds and won t need to download them when joining your server. Otherwise specify the sound path to play a local sound. Sound Setting BETTING.Settings.EnableSounds Set to false if you want to disable all the sounds. If you want to disable a specific sound you can

BETTING.Settings.BetPlacedSound BETTING.Settings.WinningBetMusic BETTING.Settings.LosingBetMusic comment out the config line. Sound played when a player places a bet. A list of music files to be played when a player wins a bet. The music file to be played will be selected randomly from the list. A list of music files to be played when a player loses a bet. The music file to be played will be selected randomly from the list. Logging The final section of the config file allows you to toggle on/off logging of bets to the ULX log file. You must have ULX installed with logging enabled to use this feature. Bets, results and amounts are logged to data/ulx_logs/... Logging Setting BETTING.Settings.LogBettingToULXFile Enable logging? Developer API Pointshop Betting makes it easy for developers to add support for new gamemodes with just a few lines of code. The addon automatically loads the support file for the current gamemode from pointshopbetting/lua/betgamemodes. Take a look at the files for already supported gamemodes if you need help adding pointshop betting to your gamemode. Below the key variables, functions and hooks are described that you may want to use in order to add pointshop betting capability. Variables BETTING.FirstTeam BETTING.SecondTeam Use This variable must be equal to either a gamemode team (i.e. TEAM_RUNNER) or a table with a team ID, name, color and function to check whether a player is on the team. See the deathrun and terrortown gamemode support files for examples of how to use both team types. Using the same format as the first team, the team/teamid must be unique. Functions Use

BETTING.FinishBets(winner, cancel) BETTING.NewBet(ply, cmd, args) BETTING.Settings.CustomCanBetFunction = function(ply,plybeton) end Call this function to finish bets for the round. You should call this when the gamemode round ends with the Team or TeamID which won the round. Pass true as the second argument to cancel all bets even if their team wins. Optionally you can call this function to place a bet from another script. You must pass the player betting, you can pass an empty string for cmd, and the args table should include the team/team ID bet on, bet amount and if required the player bet on. Use this setting with a custom function to check conditions separate from the gamemode script on whether a player should be allowed to bet or not. Return true to allow betting or false to disallow with an optional message to show to the user. The addon passes the player betting and player bet on if one exists. An example is shown in the sh_bettingconfig.lua file. Hooks PlayerCanBet Use This hook is shared and must return the same result on both the server and client. Use this hook to check gamemode conditions and time limits and then return true if the player should be allowed to bet or false if not. If you return false optionally you can also return a message to display to the user. You need to check how long it is since the current round has begun if OnlyAllowBettingAtRoundStartTime is enabled and return false if the start period has expired.