Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.39 veröffentlicht (02.06.25)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Postbit Dice
#1
Eine neue Erweiterung wurde veröffentlicht: Postbit Dice

Zitat:# postbit-dice
Postbit interface for triggering simple randomized dice rolls.

### Pre-Installation
postbit-dice makes use of a hardcoded user with
Code:
uid
999999999. If this user id isn't available, installation will fail or cause unintended behavior.  
The user and post creation makes SQL queries to the builtin _posts and _users tables. If other plugins make additional fields to these tables without well defined defaults, postbit-dice may create 'broken' posts/user accounts/tables.  
Attempt installation with existing plugins in a test environment beforehand.  

### Installation
Copy the files into the root of the MyBB installation. This should merge the contents of the inc/plugin folder with the existing one.  
The plugin should appear in the MyBB plugin manager in the Admin CP as 'Postbit Dice'. Select the 'Install & Activate' option.  

### Usage
After installation, each post will have a 'Roll Dice' option for admins to the left of the 'Edit' button. The button will trigger a pop-over window similar to the default report button with three fields:  
-
Code:
# of rolls
=> Number of times to roll the dice.  
-
Code:
Lower bound
/
Code:
Upper bound
=> INCLUSIVE Range of values to return on the dice roll.

On submission, the thread will be replied to with the resulting random values.  
Currently, only users with admin permissions can see the results of and trigger dice rolls.
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Dice Roller MyCode MyBB.de Bot 7 3.969 18.06.2018, 01:33
Letzter Beitrag: Santhony
  DyMy Dice MyBB.de Bot 1 1.863 19.11.2011, 04:15
Letzter Beitrag: MyBB.de Bot